summary refs log tree commit diff
path: root/kernel/kexec_core.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2016-06-04 01:16:22 -0700
committerDaniel Vetter <daniel.vetter@ffwll.ch>2016-08-08 10:59:56 +0200
commitfcc60b413d14dd06ddbd79ec50e83c4fb2a097ba (patch)
treef1f3cf50c3ce94ad80e9b8494d5b7e25fa8682a9 /kernel/kexec_core.c
parentfa5386459f06dc3b9181d4c954f980b127d1a32f (diff)
downloadlinux-fcc60b413d14dd06ddbd79ec50e83c4fb2a097ba.tar.gz
drm: Don't prepare or cleanup unchanging frame buffers [v3]
When reconfiguring a plane position (as in moving the cursor), the
frame buffer for the cursor isn't changing, so don't call the prepare
or cleanup driver functions.

This avoids making cursor position updates block on all pending rendering.

v3: use drm_atomic_helper_framebuffer_changed in both prepare and
    cleanup phases instead of keeping state in the plane.

cc: dri-devel@lists.freedesktop.org
cc: David Airlie <airlied@linux.ie>
cc: Daniel Vetter <daniel@ffwll.ch>
Signed-off-by: Keith Packard <keithp@keithp.com>
[danvet: Rebase onto 4.8]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'kernel/kexec_core.c')
0 files changed, 0 insertions, 0 deletions