Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/amdgpu: Extends amdgpu vm definitions (v2)

Add RW mtype introduced for arcturus.

v2:
* Don't add probe-invalidation bit from UAPI
* Don't add unused AMDGPU_MTYPE_ definitions

Signed-off-by: Oak Zeng <Oak.Zeng@amd.com>
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Shaoyun Liu <Shaoyun.Liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Oak Zeng and committed by
Alex Deucher
484deaed 22e1d14f

+2
+2
include/uapi/drm/amdgpu_drm.h
··· 500 500 #define AMDGPU_VM_MTYPE_CC (3 << 5) 501 501 /* Use UC MTYPE instead of default MTYPE */ 502 502 #define AMDGPU_VM_MTYPE_UC (4 << 5) 503 + /* Use RW MTYPE instead of default MTYPE */ 504 + #define AMDGPU_VM_MTYPE_RW (5 << 5) 503 505 504 506 struct drm_amdgpu_gem_va { 505 507 /** GEM object handle */