aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2023-04-29 07:49:07 -0400
committerAlex Deucher <[email protected]>2024-06-05 11:03:05 -0400
commit73e1d104ef7f5c9843abf4686513b3706538572a (patch)
tree690e82825cbef7e86bd938f45b24ee30b227eae4
parentdfe190aff8814227314744d8ca5e946d0ca72e24 (diff)
drm/amdgpu: define new gfx12 uapi flags
define new gfx12 uapi flags Signed-off-by: Marek Olšák <[email protected]> Acked-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
-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 */