diff options
author | 2024-05-29 17:53:11 +0800 | |
---|---|---|
committer | 2024-06-05 10:57:24 -0400 | |
commit | eba791dc17547c78727778426962f855b52b266b (patch) | |
tree | fb697d8e657998fb3bd2ac8b66c9609ab9a59915 /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | |
parent | drm/amd/display: Move 'struct scaler_data' off stack (diff) | |
download | linux-rng-eba791dc17547c78727778426962f855b52b266b.tar.xz linux-rng-eba791dc17547c78727778426962f855b52b266b.zip |
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_gfx.c')
0 files changed, 0 insertions, 0 deletions