linux-stable/drivers/gpu/drm/etnaviv
Christian König 7bc80a5462 dma-buf: add enum dma_resv_usage v4
This change adds the dma_resv_usage enum and allows us to specify why a
dma_resv object is queried for its containing fences.

Additional to that a dma_resv_usage_rw() helper function is added to aid
retrieving the fences for a read or write userspace submission.

This is then deployed to the different query functions of the dma_resv
object and all of their users. When the write paratermer was previously
true we now use DMA_RESV_USAGE_WRITE and DMA_RESV_USAGE_READ otherwise.

v2: add KERNEL/OTHER in separate patch
v3: some kerneldoc suggestions by Daniel
v4: some more kerneldoc suggestions by Daniel, fix missing cases lost in
    the rebase pointed out by Bas.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20220407085946.744568-2-christian.koenig@amd.com
2022-04-07 12:53:53 +02:00
..
cmdstream.xml.h
common.xml.h
etnaviv_buffer.c drm/etnaviv: return context from etnaviv_iommu_context_get 2021-09-16 10:34:59 +02:00
etnaviv_cmd_parser.c
etnaviv_cmdbuf.c
etnaviv_cmdbuf.h
etnaviv_drv.c drm/etnaviv: Make use of the helper component_compare_of/dev_name 2022-02-25 12:16:12 +01:00
etnaviv_drv.h dma-buf-map: Rename to iosys-map 2022-02-07 16:35:35 -08:00
etnaviv_dump.c
etnaviv_dump.h
etnaviv_gem.c dma-buf: add enum dma_resv_usage v4 2022-04-07 12:53:53 +02:00
etnaviv_gem.h drm/etnaviv: Use scheduler dependency handling 2022-04-04 16:45:49 +02:00
etnaviv_gem_prime.c dma-buf-map: Rename to iosys-map 2022-02-07 16:35:35 -08:00
etnaviv_gem_submit.c dma-buf/drivers: make reserving a shared slot mandatory v4 2022-04-06 17:38:25 +02:00
etnaviv_gpu.c bitmap patches for 5.17-rc1 2022-01-23 06:20:44 +02:00
etnaviv_gpu.h drm/etnaviv: consider completed fence seqno in hang check 2021-12-23 20:21:33 +01:00
etnaviv_hwdb.c drm/etnaviv: add HWDB entry for GC7000 r6202 2021-07-06 18:31:26 +02:00
etnaviv_iommu.c drm/etnaviv: reference MMU context when setting up hardware state 2021-09-16 10:35:33 +02:00
etnaviv_iommu_v2.c drm/etnaviv: reference MMU context when setting up hardware state 2021-09-16 10:35:33 +02:00
etnaviv_mmu.c drm/etnaviv: add missing MMU context put when reaping MMU mapping 2021-09-16 10:35:37 +02:00
etnaviv_mmu.h drm/etnaviv: return context from etnaviv_iommu_context_get 2021-09-16 10:34:59 +02:00
etnaviv_perfmon.c
etnaviv_perfmon.h
etnaviv_sched.c drm/etnaviv: Use scheduler dependency handling 2022-04-04 16:45:49 +02:00
etnaviv_sched.h drm/etnaviv: Use scheduler dependency handling 2022-04-04 16:45:49 +02:00
Kconfig
Makefile
state.xml.h
state_3d.xml.h
state_blt.xml.h
state_hi.xml.h