mesa/src/gallium/winsys
Maaz Mombasawala f4e7aefe07 svga: Unify gmr and mob surface pool managers
The svga driver contains several buffer managers with gmr* and mob* prefixes,
but they are of similar functionality. The underlying vmwgfx kernel driver
allocates memory of one type - mobs if supported by the virtual hardware,
and gmrs otherwise - and returns an opaque pointer to userspace, so several
managers are reduntant.

This patch reduces the number of buffer managers by unifying similar managers
and performing refactors where necessary.

Signed-off-by: Maaz Mombasawala <mombasawalam@vmware.com>

Reviewed-by: Charmaine Lee <charmainel@vmware.com>
Reviewed-by: Zack Rusin <zackr@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25832>
2023-10-20 22:01:04 +00:00
..
amdgpu/drm winsys/amdgpu: don't send CP_GFX_SHADOW chunk if shadow address is not set 2023-10-17 00:31:07 +00:00
asahi/drm asahi: Add scaffolding for supporting driconf options 2023-09-05 18:50:34 +00:00
crocus/drm intel/dev: create a helper dependency for libintel_dev 2023-03-02 00:01:27 +00:00
d3d12/wgl treewide: replace usage of boolean to bool 2023-06-27 18:18:27 +08:00
etnaviv/drm etnaviv: change create_renderonly signature to uniformize it 2023-03-29 09:34:29 +00:00
freedreno/drm freedreno: change create_renderonly signature to uniformize it 2023-03-29 09:34:29 +00:00
i915/drm i915: hook new get_fd proc for drm winsys 2023-04-04 19:39:02 +00:00
iris/drm iris: Drop extra file-descriptor dup in iris_drm_screen_create() 2022-08-23 22:54:23 +00:00
kmsro/drm kmsro: try to use only compatible render-capable devices 2023-10-17 20:31:13 +00:00
lima/drm lima: use u_pipe_screen_lookup_or_create in the renderonly path too 2023-07-06 06:59:21 +00:00
nouveau/drm nvc0: initial Ada enablement 2023-07-19 09:08:16 +00:00
panfrost/drm winsys/panfrost: Make sure we reset scanout on error in create_kms_dumb_buffer_for_resource() 2023-07-05 06:22:22 +00:00
radeon ac/gpu_info: split ib_alignment as ip[type].ib_alignment 2023-10-16 16:16:33 +00:00
svga/drm svga: Unify gmr and mob surface pool managers 2023-10-20 22:01:04 +00:00
sw Gallium: Fix shared memory segment leak 2023-08-08 13:24:01 +00:00
tegra/drm android: Drop the Android.mk build system 2021-07-08 14:44:02 -05:00
v3d/drm v3d: change create_renderonly signature to uniformize it 2023-03-29 09:34:30 +00:00
vc4/drm vc4: change create_renderonly signature to uniformize it 2023-03-29 09:34:30 +00:00
virgl virgl: Only PIPE_BUFFER with VIRGL_BIND_CUSTOM flag is considered busy during creation 2023-08-04 09:46:40 +00:00