OpenCloudOS-Kernel/include/uapi/drm
Mohamed Ahmed 3652ac87c9 drm/nouveau: use tile_mode and pte_kind for VM_BIND bo allocations
[ Upstream commit aed9a1a4f7106ff99a882ad06318cebfa71016a2 ]

Allow PTE kind and tile mode on BO create with VM_BIND, and add a
GETPARAM to indicate this change. This is needed to support modifiers in
NVK and ensure correctness when dealing with the nouveau GL driver.

The userspace modifiers implementation this is for can be found here:
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24795

Fixes: b88baab828 ("drm/nouveau: implement new VM_BIND uAPI")
Signed-off-by: Mohamed Ahmed <mohamedahmedegypt2001@gmail.com>
Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com>
Signed-off-by: Danilo Krummrich <dakr@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240509204352.7597-1-mohamedahmedegypt2001@gmail.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-06-12 11:12:45 +02:00
..
amdgpu_drm.h drm/amdgpu: add UAPI for allocating doorbell memory 2023-08-07 17:14:06 -04:00
armada_drm.h
drm.h drm/doc: document that PRIME import/export is always supported 2023-08-03 12:29:13 +02:00
drm_fourcc.h drm/fourcc: define Intel Meteorlake related ccs modifiers 2023-05-15 11:33:12 +03:00
drm_mode.h drm/doc: add warning about connector_type_id stability 2023-08-03 12:18:20 +02:00
drm_sarea.h
etnaviv_drm.h drm/etnaviv: provide more ID values via GET_PARAM ioctl. 2021-01-22 12:33:57 +01:00
exynos_drm.h drm/exynos: Rename Exynos to lowercase 2020-01-21 09:09:42 +09:00
habanalabs_accel.h accel/habanalabs: add description to several info ioctls 2023-06-08 12:35:56 +03:00
i915_drm.h drm/i915: Allow user to set cache at BO creation 2023-06-07 17:32:15 +02:00
ivpu_accel.h accel/ivpu: Refactor memory ranges logic 2023-08-09 13:52:15 +02:00
lima_drm.h drm/lima: support heap buffer creation 2020-01-27 22:01:09 +08:00
msm_drm.h drm/msm: Rename drm_msm_gem_submit_reloc::or in C++ code 2023-04-06 20:29:39 +03:00
nouveau_drm.h drm/nouveau: use tile_mode and pte_kind for VM_BIND bo allocations 2024-06-12 11:12:45 +02:00
omap_drm.h Revert "drm/omap: add OMAP_BO flags to affect buffer allocation" 2019-10-23 10:41:41 -04:00
panfrost_drm.h drm/panfrost: Remove type name from internal struct again 2022-11-07 15:35:43 +00:00
qaic_accel.h accel/qaic: Add uapi and core driver file 2023-04-06 08:23:03 +02:00
qxl_drm.h
radeon_drm.h
tegra_drm.h drm/tegra: Add new UAPI to header 2021-08-10 14:48:17 +02:00
v3d_drm.h drm/v3d: add multiple syncobjs support 2021-10-04 10:08:46 +01:00
vc4_drm.h
vgem_drm.h
virtgpu_drm.h drm/virtio: Support sync objects 2023-08-01 01:41:04 +03:00
vmwgfx_drm.h drm/vmwgfx: Allow querying of the SVGA PCI id from the userspace 2022-03-11 13:29:35 -05:00