Files
linux/drivers/gpu/drm/amd/amdgpu
Dirk Gouders 33eade2cd2 drm/amdgpu: fix NULL pointer dereference for Renoir
Commit c1cf79ca5c ("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: c1cf79ca5c ("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]>
2020-10-07 17:03:08 -04:00
..
2019-09-16 09:59:21 -05:00
2020-07-01 01:59:24 -04:00
2020-04-09 10:43:33 -04:00
…
…
…
…
…
…
…
2020-07-01 01:59:22 -04:00
…
…
…
…
…
…
2020-05-22 13:41:53 -04:00
…
…
…
…
2020-07-02 12:02:50 -04:00
2020-07-01 01:59:24 -04:00
2020-07-01 01:59:24 -04:00
2020-07-01 01:59:24 -04:00
2020-07-01 01:59:24 -04:00
2020-07-02 12:02:50 -04:00