mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
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>
This commit is contained in:
parent
11c94ace5e
commit
bd17d1c77c
1 changed files with 5 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue