diff options
| author | Prike.Liang <Prike.Liang@amd.com> | 2020-06-08 10:20:56 +0300 | 
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2020-07-01 08:59:18 +0300 | 
| commit | 207f0f13574825a700a4ea52d3ac4821cea627c8 (patch) | |
| tree | 799ba6266e61fa9519cab7435ab30608de0cb2b9 /drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | |
| parent | d00c3d045cd91b8d45e0a9cdfd91d4ace4e0bbc9 (diff) | |
| download | linux-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
