dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] drm: fix virtio-gpu + sev
@ 2020-08-18  9:20 Gerd Hoffmann
  2020-08-18  9:20 ` [PATCH v2 1/2] drm: allow limiting the scatter list size Gerd Hoffmann
  2020-08-18  9:20 ` [PATCH v2 2/2] drm/virtio: set max_segment Gerd Hoffmann
  0 siblings, 2 replies; 6+ messages in thread
From: Gerd Hoffmann @ 2020-08-18  9:20 UTC (permalink / raw)
  To: dri-devel; +Cc: christian.koenig, Gerd Hoffmann

virtio-gpu must make sure scatter list segments are not too big.

Gerd Hoffmann (2):
  drm: allow limiting the scatter list size.
  drm/virtio: set max_segment

 include/drm/drm_device.h                    |  8 ++++++++
 include/drm/drm_prime.h                     |  3 ++-
 drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c |  3 ++-
 drivers/gpu/drm/drm_gem_shmem_helper.c      |  3 ++-
 drivers/gpu/drm/drm_prime.c                 | 10 +++++++---
 drivers/gpu/drm/etnaviv/etnaviv_gem.c       |  3 ++-
 drivers/gpu/drm/etnaviv/etnaviv_gem_prime.c |  3 ++-
 drivers/gpu/drm/msm/msm_gem.c               |  3 ++-
 drivers/gpu/drm/msm/msm_gem_prime.c         |  3 ++-
 drivers/gpu/drm/nouveau/nouveau_prime.c     |  3 ++-
 drivers/gpu/drm/radeon/radeon_prime.c       |  3 ++-
 drivers/gpu/drm/rockchip/rockchip_drm_gem.c |  6 ++++--
 drivers/gpu/drm/tegra/gem.c                 |  3 ++-
 drivers/gpu/drm/vgem/vgem_drv.c             |  3 ++-
 drivers/gpu/drm/virtio/virtgpu_kms.c        |  1 +
 drivers/gpu/drm/xen/xen_drm_front_gem.c     |  3 ++-
 16 files changed, 44 insertions(+), 17 deletions(-)

-- 
2.18.4

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-09-07  7:14 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-18  9:20 [PATCH v2 0/2] drm: fix virtio-gpu + sev Gerd Hoffmann
2020-08-18  9:20 ` [PATCH v2 1/2] drm: allow limiting the scatter list size Gerd Hoffmann
2020-09-01  7:40   ` Daniel Vetter
2020-09-07  6:39     ` Gerd Hoffmann
2020-09-07  7:13       ` Daniel Vetter
2020-08-18  9:20 ` [PATCH v2 2/2] drm/virtio: set max_segment Gerd Hoffmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox