]> git.baikalelectronics.ru Git - kernel.git/commit
drm: atmel_hlcdc: Enable the crtc vblank prior to crtc usage.
authorDan Sneddon <dan.sneddon@microchip.com>
Wed, 2 Jun 2021 16:08:45 +0000 (09:08 -0700)
committerSam Ravnborg <sam@ravnborg.org>
Sat, 19 Jun 2021 20:23:03 +0000 (22:23 +0200)
commit5f6a90b4ece278b040d1ce703ee1f86a9b2b9361
tree6665d772aa263815d55dbd9571a0eb3b0de9665a
parent2fc59b879d73fe704bb62f9d205b26e83165be59
drm: atmel_hlcdc: Enable the crtc vblank prior to crtc usage.

'commit 1f0178e7f715 ("drm/atmel: Use drm_atomic_helper_commit")'
removed the home-grown handling of atomic commits and exposed an issue
in the crtc atomic commit handling where vblank is expected to be
enabled but hasn't yet, causing kernel warnings during boot.  This patch
cleans up the crtc vblank handling thus removing the warning on boot.

Fixes: 1f0178e7f715 ("drm/atmel: Use drm_atomic_helper_commit")
Signed-off-by: Dan Sneddon <dan.sneddon@microchip.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20210602160846.5013-1-dan.sneddon@microchip.com
drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c