summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
diff options
context:
space:
mode:
authorPeng Ju Zhou <PengJu.Zhou@amd.com>2021-06-07 08:40:56 +0300
committerAlex Deucher <alexander.deucher@amd.com>2021-06-07 21:57:38 +0300
commit9a3bf287c42593860f29f245d9f782b51930a3d7 (patch)
tree2eecb5310c3a155129cbb24e005bf62ecd9a4fd2 /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
parent312d9253ecac6b293325ff72e6c1d1b171aaf2b3 (diff)
downloadlinux-9a3bf287c42593860f29f245d9f782b51930a3d7.tar.xz
drm/amdgpu: Fixing "Indirect register access for Navi12 sriov" for vega10
The NV12 and VEGA10 share the same interface W/RREG32_SOC15*, the callback functions in these macros may not be defined, so NULL pointer must be checked but not in macro __WREG32_SOC15_RLC__, fixing the lock of NULL pointer check. Signed-off-by: Peng Ju Zhou <PengJu.Zhou@amd.com> Reviewed-by: Emily Deng <Emily.Deng@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c')
0 files changed, 0 insertions, 0 deletions