]> git.baikalelectronics.ru Git - kernel.git/commit
drm: Clear crtc->primary->crtc when disabling the crtc via setcrtc()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 22 Mar 2018 15:22:53 +0000 (17:22 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 29 Mar 2018 16:14:20 +0000 (19:14 +0300)
commit4b6810afd960a78d5f7918c1ac29c9ba6959f31b
tree44b6a9d894d5dd3bd427cd9875fc291d6fabd663
parent10ce9068843ed8feb5777447a9e422576c92725c
drm: Clear crtc->primary->crtc when disabling the crtc via setcrtc()

Keep the primary->crtc in sync with the state->crtc (also with
primary->fb and state->fb) when disabling the crtc (and thus also
the primary) via setcrtc().

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180322152313.6561-4-ville.syrjala@linux.intel.com
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
drivers/gpu/drm/drm_crtc.c