aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
diff options
context:
space:
mode:
authorPrike.Liang <[email protected]>2020-06-08 15:20:56 +0800
committerAlex Deucher <[email protected]>2020-07-01 01:59:18 -0400
commit207f0f13574825a700a4ea52d3ac4821cea627c8 (patch)
tree799ba6266e61fa9519cab7435ab30608de0cb2b9 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
parentd00c3d045cd91b8d45e0a9cdfd91d4ace4e0bbc9 (diff)
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 <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions