drm/i915: Eliminate has_4tile feature flag
authorMatt Roper <matthew.d.roper@intel.com>
Thu, 10 Aug 2023 23:46:20 +0000 (16:46 -0700)
committerMatt Roper <matthew.d.roper@intel.com>
Thu, 17 Aug 2023 22:41:30 +0000 (15:41 -0700)
commit4ebf43d0488f65f50fffa35e16b60fcede3f477c
tree1dc03e770643bdf16e370838084efb57329360e7
parent3d623691ca300676699a56d5ec154ebcbe5d63eb
drm/i915: Eliminate has_4tile feature flag

We don't really need a feature flag for has_4tile since there's a
well-defined cutover point (DG2) at which all new platforms started
using Tile4 as their Y-major tiling layout.  The GT side of the code
already handles Tile4 vs legacy TileY with checks on the IP version
rather than looking at the feature flag, and we can simplify the display
code similarly (which will also make it more self-contained for re-use
in the Xe driver).

Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Haridhar Kalvala <haridhar.kalvala@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230810234618.3738870-4-matthew.d.roper@intel.com
drivers/gpu/drm/i915/display/intel_display_device.h
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_pci.c
drivers/gpu/drm/i915/intel_device_info.h