aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/omapdrm/omap_gem.c
diff options
context:
space:
mode:
authorTomi Valkeinen <[email protected]>2016-06-10 09:50:39 +0000
committerTomi Valkeinen <[email protected]>2016-11-02 08:38:28 +0000
commitaaf7642e98917fc95c260cbee98d2f426754b265 (patch)
tree83fcd7dcf32c461b50ab516edf2b3db4fc4781ca /drivers/gpu/drm/omapdrm/omap_gem.c
parentMerge branch 'linux-4.9' of git://github.com/skeggsb/linux into drm-next (diff)
downloadkernel-aaf7642e98917fc95c260cbee98d2f426754b265.tar.gz
kernel-aaf7642e98917fc95c260cbee98d2f426754b265.zip
drm/omap: fix plane check when crtc is disabled
I sometimes see: [drm:drm_framebuffer_remove [drm]] *ERROR* failed to reset crtc ed2a6c00 when fb was deleted: -22 which comes from drm_framebuffer_remove() when it's disabling the crtc with zeroed drm_mode_set. The problem in omap_plane_atomic_check() is that it will use those zeroed fields to verify if the setup is correct. This patch makes omap_plane_atomic_check() return 0 if the crtc is disabled. Signed-off-by: Tomi Valkeinen <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_gem.c')
0 files changed, 0 insertions, 0 deletions