linux_dsm_epyc7002/drivers/gpu/drm/msm
Gerd Hoffmann 707d561f77 drm: allow limiting the scatter list size.
Add drm_device argument to drm_prime_pages_to_sg(), so we can
call dma_max_mapping_size() to figure the segment size limit
and call into __sg_alloc_table_from_pages() with the correct
limit.

This fixes virtio-gpu with sev.  Possibly it'll fix other bugs
too given that drm seems to totaly ignore segment size limits
so far ...

v2: place max_segment in drm driver not gem object.
v3: move max_segment next to the other gem fields.
v4: just use dma_max_mapping_size().

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20200907112425.15610-2-kraxel@redhat.com
2020-09-09 07:58:56 +02:00
..
adreno drm/msm/a6xx: add A640/A650 hwcg 2020-07-31 06:46:17 -07:00
disp Merge drm/drm-next into drm-misc-next 2020-08-12 20:42:08 +02:00
dsi Merge drm/drm-next into drm-misc-next 2020-08-12 20:42:08 +02:00
edp drm/msm: sync generated headers 2020-07-31 06:46:16 -07:00
hdmi drm/msm: sync generated headers 2020-07-31 06:46:16 -07:00
Kconfig
Makefile
msm_atomic_trace.h
msm_atomic_tracepoints.c
msm_atomic.c
msm_debugfs.c
msm_debugfs.h
msm_drv.c This tree adds the sched_set_fifo*() encapsulation APIs to remove 2020-08-06 11:55:43 -07:00
msm_drv.h drm/msm: use kthread_create_worker instead of kthread_run 2020-07-31 06:46:17 -07:00
msm_fb.c drm/msm: remove _unlocked suffix in drm_gem_object_put_unlocked 2020-05-19 22:31:33 +01:00
msm_fbdev.c
msm_fence.c
msm_fence.h
msm_gem_prime.c drm: allow limiting the scatter list size. 2020-09-09 07:58:56 +02:00
msm_gem_shrinker.c
msm_gem_submit.c drm-misc-next for v5.9: 2020-06-24 15:45:51 +10:00
msm_gem_vma.c drm/msm: Refactor address space initialization 2020-05-23 13:38:16 -07:00
msm_gem.c drm: allow limiting the scatter list size. 2020-09-09 07:58:56 +02:00
msm_gem.h drm/msm: add internal MSM_BO_MAP_PRIV flag 2020-05-18 09:26:33 -07:00
msm_gpu_trace.h
msm_gpu_tracepoints.c
msm_gpu.c drm: msm: a6xx: send opp instead of a frequency 2020-07-31 06:46:15 -07:00
msm_gpu.h drm: msm: a6xx: send opp instead of a frequency 2020-07-31 06:46:15 -07:00
msm_gpummu.c drm/msm: Update the MMU helper function APIs 2020-05-23 13:38:16 -07:00
msm_iommu.c drm/msm: Update the MMU helper function APIs 2020-05-23 13:38:16 -07:00
msm_kms.h
msm_mmu.h drm/msm: Update the MMU helper function APIs 2020-05-23 13:38:16 -07:00
msm_perf.c
msm_rd.c
msm_ringbuffer.c
msm_ringbuffer.h
msm_submitqueue.c drm/msm: fix potential memleak in error branch 2020-06-11 20:06:12 -07:00
NOTES