diff options
author | Shane Xiao <shane.xiao@amd.com> | 2024-05-29 17:53:11 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-06-05 10:57:24 -0400 |
commit | eba791dc17547c78727778426962f855b52b266b (patch) | |
tree | fb697d8e657998fb3bd2ac8b66c9609ab9a59915 /drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c | |
parent | f8718c482572181ca364ffca3c27365cc83cfe9e (diff) |
drm/amdgpu: Update the impelmentation of AMDGPU_PTE_MTYPE_GFX12
This patch changes the implementation of AMDGPU_PTE_MTYPE_GFX12,
clear the bits before setting the new one.
This fixed the potential issue that GFX12 setting memory to NC.
v2: Clear mtype field before setting the new one (Alex)
v3: Fix typo (Felix)
Suggested-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: longlyao <Longlong.Yao@amd.com>
Signed-off-by: Shane Xiao <shane.xiao@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c')
0 files changed, 0 insertions, 0 deletions