Skip to content
Commit 207f0f13 authored by Prike.Liang's avatar Prike.Liang Committed by Alex Deucher
Browse files

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: default avatarPrike.Liang <Prike.Liang@amd.com>
Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent d00c3d04
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment