Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Rob Herring and committed by
Dave Airlie
bd17d1c7 11c94ace

+5
+5
drivers/gpu/drm/virtio/virtgpu_plane.c
··· 84 84 plane->state->crtc_h, 85 85 plane->state->crtc_x, 86 86 plane->state->crtc_y); 87 + virtio_gpu_cmd_resource_flush(vgdev, handle, 88 + plane->state->crtc_x, 89 + plane->state->crtc_y, 90 + plane->state->crtc_w, 91 + plane->state->crtc_h); 87 92 } 88 93 89 94