2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00
linux/drivers/gpu/drm/vmwgfx
Ian Forbes e95635d776 drm/vmwgfx: Switch to exclusively using GEM references
Currently we use a combination of TTM and GEM reference counting which is
cumbersome. TTM references are used for kernel internal BOs and operations
like validation. Simply switching the ttm_bo_(get|put) calls to their
GEM equivalents is insufficient as not all BOs are GEM BOs so we must set
the GEM vtable for all BOs even if they are not exposed to userspace.

Suggested-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Ian Forbes <ian.forbes@broadcom.com>
Reviewed-by: Zack Rusin <zack.rusin@broadcom.com>
Signed-off-by: Zack Rusin <zack.rusin@broadcom.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250131200321.193939-1-ian.forbes@broadcom.com
2025-03-18 23:59:51 -04:00
..
device_include
Kconfig drm/vmwgfx: Run DRM default client setup 2024-09-26 09:31:28 +02:00
Makefile drm/vmwgfx: Refactor cursor handling 2025-03-10 14:30:33 -04:00
ttm_object.c module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
ttm_object.h drm/vmwgfx: Make all surfaces shareable 2024-01-30 14:18:18 -05:00
vmw_surface_cache.h drm/vmwgfx: Fix handling of dumb buffers 2024-07-24 22:21:53 -04:00
vmwgfx_binding.c fix missing vmalloc.h includes 2024-04-25 20:55:49 -07:00
vmwgfx_binding.h
vmwgfx_blit.c drm/vmwgfx: Remove unnecessary NULL checks before kvfree() 2024-10-10 23:01:45 -04:00
vmwgfx_bo.c drm/vmwgfx: Switch to exclusively using GEM references 2025-03-18 23:59:51 -04:00
vmwgfx_bo.h drm/vmwgfx: Switch to exclusively using GEM references 2025-03-18 23:59:51 -04:00
vmwgfx_cmd.c fix missing vmalloc.h includes 2024-04-25 20:55:49 -07:00
vmwgfx_cmdbuf_res.c
vmwgfx_cmdbuf.c
vmwgfx_context.c
vmwgfx_cotable.c drm/vmwgfx: Switch to exclusively using GEM references 2025-03-18 23:59:51 -04:00
vmwgfx_cursor_plane.c drm/vmwgfx: Refactor cursor handling 2025-03-10 14:30:33 -04:00
vmwgfx_cursor_plane.h drm/vmwgfx: Refactor cursor handling 2025-03-10 14:30:33 -04:00
vmwgfx_devcaps.c fix missing vmalloc.h includes 2024-04-25 20:55:49 -07:00
vmwgfx_devcaps.h
vmwgfx_drv.c drm/vmwgfx: Refactor cursor handling 2025-03-10 14:30:33 -04:00
vmwgfx_drv.h drm/vmwgfx: Switch to exclusively using GEM references 2025-03-18 23:59:51 -04:00
vmwgfx_execbuf.c drm/vmwgfx: Add seqno waiter for sync_files 2025-03-10 14:31:43 -04:00
vmwgfx_fence.c drm/vmwgfx: Fix a deadlock in dma buf fence polling 2024-07-24 22:21:36 -04:00
vmwgfx_fence.h
vmwgfx_gem.c drm/vmwgfx: Switch to exclusively using GEM references 2025-03-18 23:59:51 -04:00
vmwgfx_gmr.c
vmwgfx_gmrid_manager.c drm/vmwgfx: Standardize use of kibibytes when logging 2024-06-05 22:10:49 -04:00
vmwgfx_ioctl.c fix missing vmalloc.h includes 2024-04-25 20:55:49 -07:00
vmwgfx_irq.c
vmwgfx_kms.c drm/vmwgfx: Refactor cursor handling 2025-03-10 14:30:33 -04:00
vmwgfx_kms.h drm/vmwgfx: Refactor cursor handling 2025-03-10 14:30:33 -04:00
vmwgfx_ldu.c drm/vmwgfx: Refactor cursor handling 2025-03-10 14:30:33 -04:00
vmwgfx_mksstat.h
vmwgfx_mob.c drm/vmwgfx: Switch to exclusively using GEM references 2025-03-18 23:59:51 -04:00
vmwgfx_msg_arm64.h drm/vmwgfx: Use VMware hypercall API 2024-06-25 17:15:47 +02:00
vmwgfx_msg_x86.h drm/vmwgfx: Use VMware hypercall API 2024-06-25 17:15:47 +02:00
vmwgfx_msg.c drm/vmwgfx: Use VMware hypercall API 2024-06-25 17:15:47 +02:00
vmwgfx_overlay.c drm/vmwgfx: Fix overlay when using Screen Targets 2024-07-24 22:29:07 -04:00
vmwgfx_page_dirty.c drm/vmwgfx: Refactor cursor handling 2025-03-10 14:30:33 -04:00
vmwgfx_prime.c drm/vmwgfx: Fix handling of dumb buffers 2024-07-24 22:21:53 -04:00
vmwgfx_reg.h
vmwgfx_resource_priv.h
vmwgfx_resource.c drm/vmwgfx: Switch to exclusively using GEM references 2025-03-18 23:59:51 -04:00
vmwgfx_scrn.c drm/vmwgfx: Switch to exclusively using GEM references 2025-03-18 23:59:51 -04:00
vmwgfx_shader.c drm/vmwgfx: Add new keep_resv BO param 2025-01-14 13:01:43 -05:00
vmwgfx_simple_resource.c
vmwgfx_so.c
vmwgfx_so.h
vmwgfx_stdu.c drm/vmwgfx: Refactor cursor handling 2025-03-10 14:30:33 -04:00
vmwgfx_streamoutput.c
vmwgfx_surface.c drm/vmwgfx: Switch to exclusively using GEM references 2025-03-18 23:59:51 -04:00
vmwgfx_system_manager.c
vmwgfx_ttm_buffer.c drm/vmwgfx: Add new keep_resv BO param 2025-01-14 13:01:43 -05:00
vmwgfx_va.c
vmwgfx_validation.c drm/vmwgfx: Switch to exclusively using GEM references 2025-03-18 23:59:51 -04:00
vmwgfx_validation.h drm/vmwgfx: Remove unused code 2024-03-28 21:25:08 -04:00
vmwgfx_vkms.c Merge drm/drm-fixes into drm-misc-fixes 2024-07-30 09:09:23 +02:00
vmwgfx_vkms.h drm/vmwgfx: Implement virtual crc generation 2024-04-15 13:32:45 -04:00