projects
/
platform
/
upstream
/
kmscon.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48bf4bd
)
uterm: drm: activate context before swapping
author
David Herrmann
<dh.herrmann@gmail.com>
Mon, 4 Nov 2013 18:37:05 +0000
(19:37 +0100)
committer
David Herrmann
<dh.herrmann@gmail.com>
Mon, 4 Nov 2013 18:37:05 +0000
(19:37 +0100)
Lets be safe here and activate the context before performing the
buffer-swap. Drivers might be inconsistent and require this in case the
background process changed the DRM state.
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
src/uterm_drm_shared.c
patch
|
blob
|
history
diff --git
a/src/uterm_drm_shared.c
b/src/uterm_drm_shared.c
index
8d1e1be
..
ec486ab
100644
(file)
--- a/
src/uterm_drm_shared.c
+++ b/
src/uterm_drm_shared.c
@@
-703,6
+703,7
@@
int uterm_drm_video_hotplug(struct uterm_video *video,
if (modeset) {
log_debug("re-activate display %p", disp);
+ uterm_display_use(disp, NULL);
uterm_display_swap(disp, true);
}