]> git.baikalelectronics.ru Git - kernel.git/commit
drm/hdlcd: Don't call drm_crtc_vblank_off on unbind
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 2 Jun 2020 09:51:40 +0000 (11:51 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 3 Jun 2020 13:46:32 +0000 (15:46 +0200)
commitd1741de8fa8bcf701c5b50311c379f0b9e5eb2c7
treed7252ed05c7aeb0df05e6ee7ebfa264136613e4e
parentcfdaa2eac8ac96ec18357ca0ffe2e3c349b4a5e5
drm/hdlcd: Don't call drm_crtc_vblank_off on unbind

This is already taken care of by drm_atomic_helper_shutdown(), and
in that case only for the CRTC which are actually on.

Only tricky bit here is that we kill the interrupt handling before we
shut down crtc, so need to reorder that.

Acked-by: Liviu Dudau <liviu.dudau@arm.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Cc: Liviu Dudau <liviu.dudau@arm.com>
Cc: Brian Starkey <brian.starkey@arm.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200602095140.36678-3-daniel.vetter@ffwll.ch
drivers/gpu/drm/arm/hdlcd_drv.c