mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-11 13:27:06 +09:00
UPSTREAM: drm: virtio-gpu: ensure plane is flushed to host on atomic update
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>
(cherry picked from commit bd17d1c77c)
Change-Id: Ib688992f35a775e2c90640387eceaf343df846de
Signed-off-by: Alistair Strachan <astrachan@google.com>
This commit is contained in:
committed by
Alistair Strachan
parent
d9e0aa6379
commit
9f7a117985
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user