OSDN Git Service

drm/i915: Stop using crtc->index as the pipe
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 26 Apr 2021 18:56:12 +0000 (21:56 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 28 Apr 2021 12:55:21 +0000 (15:55 +0300)
commitb109da48e6baceeb7b80e6b3292324f46c7d1255
tree7c86f0142698b698fee67f4b30cbd8cc3c394220
parent661af37946f32d9bf28b11a6e0626c1012813190
drm/i915: Stop using crtc->index as the pipe

The pipe crc code slipped theough the net when we tried to
eliminate all crtc->index==pipe abuses. Remedy that.

And while at it get rid of those nasty intel_crtc+drm_crtc
pointer aliases.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210426185612.13223-1-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
drivers/gpu/drm/i915/display/intel_pipe_crc.c