drm/i915/dpt: Only do the POT stride remap when using DPT
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 20 Mar 2023 09:05:18 +0000 (11:05 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 24 Mar 2023 15:14:49 +0000 (17:14 +0200)
commitef5cb493a9acd7d97870d6e542020980ae3f3483
tree670a0e8f416432af751b9513cc720107206378a0
parent779cb5ba64ec7df80675a956c9022929514f517a
drm/i915/dpt: Only do the POT stride remap when using DPT

If we want to test with DPT disabled on ADL the POT stride remap
stuff needs to be disabled. Make it depend on actual DPT usage
instead of just assuming it based on the modifier.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230320090522.9909-3-ville.syrjala@linux.intel.com
Reviewed-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
drivers/gpu/drm/i915/display/intel_fb.c