diff options
| author | Shane Xiao <shane.xiao@amd.com> | 2024-05-29 12:53:11 +0300 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2024-06-05 17:57:24 +0300 |
| commit | eba791dc17547c78727778426962f855b52b266b (patch) | |
| tree | fb697d8e657998fb3bd2ac8b66c9609ab9a59915 /drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c | |
| parent | f8718c482572181ca364ffca3c27365cc83cfe9e (diff) | |
| download | linux-eba791dc17547c78727778426962f855b52b266b.tar.xz | |
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_vcn.c')
0 files changed, 0 insertions, 0 deletions
