drm/i915: Don't initialize plane_to_crtc_mapping[] on SKL+
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 5 Mar 2018 17:41:22 +0000 (19:41 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 16 Mar 2018 14:18:25 +0000 (16:18 +0200)
commit1947fd133cf0f58b171adc8565685c1a06de07b7
tree3f66c4063419105c813fadafc39df3da5bd48758
parent957d32feaf04d2a67fd506743e5789359480d574
drm/i915: Don't initialize plane_to_crtc_mapping[] on SKL+

We don't use the enum i9xx_plane_id namespace on SKL+ anymore, so
do not initialize the related plane_to_crtc_mapping[] table either.

Actually the only remaining user of that table is the pre-g4x
watermark code, but no harm in initializing the table on all
pre-SKL platforms.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180305174122.17273-1-ville.syrjala@linux.intel.com
Reviewed-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
drivers/gpu/drm/i915/intel_display.c