summaryrefslogtreecommitdiffstats
path: root/include/uapi/drm/amdgpu_drm.h
diff options
context:
space:
mode:
authorMarek Olšák <marek.olsak@amd.com>2023-04-29 13:49:07 +0200
committerAlex Deucher <alexander.deucher@amd.com>2024-06-05 17:03:05 +0200
commit73e1d104ef7f5c9843abf4686513b3706538572a (patch)
tree690e82825cbef7e86bd938f45b24ee30b227eae4 /include/uapi/drm/amdgpu_drm.h
parentdrm/amdkfd: remove dead code in the function svm_range_get_pte_flags (diff)
downloadlinux-73e1d104ef7f5c9843abf4686513b3706538572a.tar.xz
linux-73e1d104ef7f5c9843abf4686513b3706538572a.zip
drm/amdgpu: define new gfx12 uapi flags
define new gfx12 uapi flags Signed-off-by: Marek Olšák <marek.olsak@amd.com> Acked-by: Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'include/uapi/drm/amdgpu_drm.h')
-rw-r--r--include/uapi/drm/amdgpu_drm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/drm/amdgpu_drm.h b/include/uapi/drm/amdgpu_drm.h
index 5b6c0055cfcf..e44362e74fa1 100644
--- a/include/uapi/drm/amdgpu_drm.h
+++ b/include/uapi/drm/amdgpu_drm.h
@@ -171,6 +171,8 @@ extern "C" {
* may override the MTYPE selected in AMDGPU_VA_OP_MAP.
*/
#define AMDGPU_GEM_CREATE_EXT_COHERENT (1 << 15)
+/* Set PTE.D and recompress during GTT->VRAM moves according to TILING flags. */
+#define AMDGPU_GEM_CREATE_GFX12_DCC (1 << 16)
struct drm_amdgpu_gem_create_in {
/** the requested memory size */