summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
diff options
context:
space:
mode:
authorPrike.Liang <Prike.Liang@amd.com>2020-06-08 10:20:56 +0300
committerAlex Deucher <alexander.deucher@amd.com>2020-07-01 08:59:18 +0300
commit207f0f13574825a700a4ea52d3ac4821cea627c8 (patch)
tree799ba6266e61fa9519cab7435ab30608de0cb2b9 /drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
parentd00c3d045cd91b8d45e0a9cdfd91d4ace4e0bbc9 (diff)
downloadlinux-207f0f13574825a700a4ea52d3ac4821cea627c8.tar.xz
drm/amdgpu/soc15: fix nullptr issue in soc15_read_register() for reg base accessing
The failed case is no SDMA1 IP for Renoir discovery table while in accessing SDMA1 reg base, thus need have nullptr test for soc15_read_register invoked in MMR addres space inquire opt. Signed-off-by: Prike.Liang <Prike.Liang@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_pm.c')
0 files changed, 0 insertions, 0 deletions