aboutsummaryrefslogtreecommitdiff
path: root/drivers/ide
diff options
context:
space:
mode:
authorDirk Gouders2020-10-01 21:55:25 +0200
committerAlex Deucher2020-10-07 17:03:08 -0400
commit33eade2cd27a49cd858fd7b21be8447462afe859 (patch)
tree48b4aa17192c170b4ed86240210b723eec2b837c /drivers/ide
parentd10285a25e29f13353bbf7760be8980048c1ef2f (diff)
drm/amdgpu: fix NULL pointer dereference for Renoir
Commit c1cf79ca5ced46 ("drm/amdgpu: use IP discovery table for renoir") introduced a NULL pointer dereference when booting with amdgpu.discovery=0, because it removed the call of vega10_reg_base_init() for that case. Fix this by calling that funcion if amdgpu_discovery == 0 in addition to the case that amdgpu_discovery_reg_base_init() failed. Fixes: c1cf79ca5ced46 ("drm/amdgpu: use IP discovery table for renoir") Signed-off-by: Dirk Gouders <dirk@gouders.net> Cc: Hawking Zhang <Hawking.Zhang@amd.com> Cc: Evan Quan <evan.quan@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/ide')
0 files changed, 0 insertions, 0 deletions