OpenCloudOS-Kernel/drivers/gpu/drm/virtio
Sebastian Ott 0b1d4187c2 drm/virtio: Set segment size for virtio_gpu device
commit 9c64e749cebd9c2d3d55261530a98bcccb83b950 upstream.

Set the segment size of the virtio_gpu device to the value
used by the drm helpers when allocating sg lists to fix the
following complaint from DMA_API debug code:

DMA-API: virtio-pci 0000:07:00.0: mapping sg segment longer than
device claims to support [len=262144] [max=65536]

Cc: stable@vger.kernel.org
Tested-by: Zhenyu Zhang <zhenyzha@redhat.com>
Acked-by: Vivek Kasireddy <vivek.kasireddy@intel.com>
Signed-off-by: Sebastian Ott <sebott@redhat.com>
Signed-off-by: Dmitry Osipenko <dmitry.osipenko@collabora.com>
Link: https://patchwork.freedesktop.org/patch/msgid/7258a4cc-da16-5c34-a042-2a23ee396d56@redhat.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-02-23 09:25:01 +01: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/virtio: Set segment size for virtio_gpu device 2024-02-23 09:25:01 +01:00
virtgpu_drv.h drm/virtio: Refactor and optimize job submission code path 2023-06-03 04:50:40 +03: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:19:08 -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
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