aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
diff options
context:
space:
mode:
authorDirk Gouders <[email protected]>2020-10-01 19:55:25 +0000
committerAlex Deucher <[email protected]>2020-10-05 19:12:46 +0000
commit2ae78708047026397713a0e4af011bdd5d392e14 (patch)
tree2f34359a5de51c643e0bb20fd0a9db5b8293626c /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
parentdrm/amdgpu/swsmu: add interrupt work handler for smu11 parts (diff)
downloadkernel-2ae78708047026397713a0e4af011bdd5d392e14.tar.gz
kernel-2ae78708047026397713a0e4af011bdd5d392e14.zip
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 <[email protected]> Cc: Hawking Zhang <[email protected]> Cc: Evan Quan <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c')
0 files changed, 0 insertions, 0 deletions