linux/drivers/gpu/drm/virtio
Javier Martinez Canillas 07fcfd45b2 drm/virtio: Disable damage clipping if FB changed since last page-flip
commit 0240db231d upstream.

The driver does per-buffer uploads and needs to force a full plane update
if the plane's attached framebuffer has change since the last page-flip.

Fixes: 01f05940a9 ("drm/virtio: Enable fb damage clips property for the primary plane")
Cc: <stable@vger.kernel.org> # v6.4+
Reported-by: nerdopolis <bluescreen_avenger@verizon.net>
Closes: https://bugzilla.kernel.org/show_bug.cgi?id=218115
Suggested-by: Sima Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Zack Rusin <zackr@vmware.com>
Acked-by: Sima Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20231123221315.3579454-3-javierm@redhat.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2024-01-31 16:21:13 -08:00
..
Kconfig drm/virtio: Add option to disable KMS support 2023-03-03 23:29:54 +03:00
Makefile drm/virtio: Refactor and optimize job submission code path 2023-06-03 04:50:40 +03:00
virtgpu_debugfs.c drm: Convert open-coded yes/no strings to yesno() 2022-02-07 13:04:25 -08:00
virtgpu_display.c drm/virtio: Add option to disable KMS support 2023-03-03 23:29:54 +03:00
virtgpu_drv.c drm: Disable the cursor plane on atomic contexts with virtualized drivers 2024-01-31 16:21:13 -08:00
virtgpu_drv.h drm/virtio: Annotate struct virtio_gpu_object_array with __counted_by 2023-10-05 11:30:50 +02:00
virtgpu_fence.c drm/virtio: implement context init: add virtio_gpu_fence_event 2021-09-29 09:22:31 +02:00
virtgpu_gem.c drm/virtio: Unlock reservations on dma_resv_reserve_fences() error 2022-07-19 14:40:58 +02:00
virtgpu_ioctl.c drm/virtio: Refactor and optimize job submission code path 2023-06-03 04:50:40 +03:00
virtgpu_kms.c drm/virtio: Fix handling CONFIG_DRM_VIRTIO_GPU_KMS option 2023-03-06 20:32:17 +03:00
virtgpu_object.c drm/virtio: Fix memory leak in virtio_gpu_object_create() 2023-01-02 17:42:25 +03:00
virtgpu_plane.c drm/virtio: Disable damage clipping if FB changed since last page-flip 2024-01-31 16:21:13 -08:00
virtgpu_prime.c drm/virtio: simplify the return expression 2022-06-09 07:30:13 +02:00
virtgpu_submit.c drm/virtio: clean out_fence on complete_submit 2023-09-21 00:11:24 +03:00
virtgpu_trace.h drm/virtio: Spiff out cmd queue/response traces 2023-01-02 17:51:27 +03:00
virtgpu_trace_points.c drm/virtio: add trace events for commands 2019-05-06 10:52:58 +02:00
virtgpu_vq.c Linux 6.3-rc4 2023-03-29 16:00:23 +02:00
virtgpu_vram.c mm: replace vma->vm_flags direct modifications with modifier calls 2023-02-09 16:51:39 -08:00