drm/i915/rkl: Don't try to read out DSI transcoders
authorAditya Swarup <aditya.swarup@intel.com>
Sat, 6 Jun 2020 02:57:37 +0000 (19:57 -0700)
committerMatt Roper <matthew.d.roper@intel.com>
Tue, 9 Jun 2020 17:25:56 +0000 (10:25 -0700)
commit617458cdc366c1c00e5934b6513f3d2b2c264c14
tree1367573f35a4527ae0c1b2742b1d83497e6216f1
parent2cf122070c5681ea78d384c4e86a7d80f16bd1b7
drm/i915/rkl: Don't try to read out DSI transcoders

RKL doesn't have DSI outputs, so we shouldn't try to read out the DSI
transcoder registers.

v2(MattR):
 - Just set the 'extra panel mask' to edp | dsi0 | dsi1 and then mask
   against the platform's cpu_transcoder_mask to filter out the ones
   that don't exist on a given platform.  (Ville)

v3(MattR):
 - Only include DSI transcoders on gen11+ again. (Ville)
 - Use for_each_cpu_transcoder_masked() for loop. (Ville)

Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Aditya Swarup <aditya.swarup@intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200606025740.3308880-5-matthew.d.roper@intel.com
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
drivers/gpu/drm/i915/display/intel_display.c