]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit27f3d195a1099cfa64060b9fd5692c1684f66d49
tree7c86f0142698b698fee67f4b30cbd8cc3c394220
parent7174fd3069c87a86ffc59d930d075c444751787c
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