diff options
author | Prike.Liang <Prike.Liang@amd.com> | 2020-06-05 17:53:56 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-07-01 01:59:19 -0400 |
commit | b6df946ef4b5ae29183b2fdb2d12c381c757b3fb (patch) | |
tree | 380f48720a45a2930e4b74b47cb72053c0fc6150 /drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | |
parent | 5a84ae87fe6123f9521eea48e405f8ad74e2b8ad (diff) |
drm/amdgpu: fix the nullptr issue as for PWR IP not existing in discovery table
Fixes: c1cf79ca5ced46 ("drm/amdgpu: use IP discovery table for renoir")
This nullptr issue should be specific on the Renoir series during try access the PWR_MISC_CNTL_STATUS
when PWR IP not been detected by discovery table. Moreover the PWR IP not existing in Renoir series is
expected therefore just avoid access PWR register in Renoir series.
Signed-off-by: Prike.Liang <Prike.Liang@amd.com>
Acked-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_psp.c')
0 files changed, 0 insertions, 0 deletions