projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11c94ac
)
drm: virtio-gpu: ensure plane is flushed to host on atomic update
author
Rob Herring
<robh@kernel.org>
Wed, 13 Jan 2016 21:52:08 +0000
(15:52 -0600)
committer
Dave Airlie
<airlied@redhat.com>
Wed, 10 Feb 2016 22:56:22 +0000
(08:56 +1000)
This fixes drawing updates when updating planes with atomic API.
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/virtio/virtgpu_plane.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/virtio/virtgpu_plane.c
b/drivers/gpu/drm/virtio/virtgpu_plane.c
index cad1ca49ad313547dd746f5fcee3f109f2cd4fb1..519eebd6c581fc85572415ecd1a820ff138b979b 100644
(file)
--- a/
drivers/gpu/drm/virtio/virtgpu_plane.c
+++ b/
drivers/gpu/drm/virtio/virtgpu_plane.c
@@
-84,6
+84,11
@@
static void virtio_gpu_plane_atomic_update(struct drm_plane *plane,
plane->state->crtc_h,
plane->state->crtc_x,
plane->state->crtc_y);
+ virtio_gpu_cmd_resource_flush(vgdev, handle,
+ plane->state->crtc_x,
+ plane->state->crtc_y,
+ plane->state->crtc_w,
+ plane->state->crtc_h);
}