From: Marek Olšák <[email protected]>

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]>
---
 include/uapi/drm/amdgpu_drm.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/uapi/drm/amdgpu_drm.h b/include/uapi/drm/amdgpu_drm.h
index ae3f4e275f20..3e488b0119eb 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 */
-- 
2.45.1

Reply via email to