diff options
author | Sebastian Ott <sebott@redhat.com> | 2024-01-23 19:14:14 +0100 |
---|---|---|
committer | Dmitry Osipenko <dmitry.osipenko@collabora.com> | 2024-01-29 11:44:34 +0300 |
commit | 9c64e749cebd9c2d3d55261530a98bcccb83b950 (patch) | |
tree | 70bb904be25f82a7dd95973570bd7f22e0da7ce5 /lib | |
parent | 27d19268cf394f2c78db732be0cb31852eeadb0a (diff) |
drm/virtio: Set segment size for virtio_gpu device
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
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions