projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8447675
)
drm/amdgpu: IP discovery table is not ready yet for VG
author
Alex Deucher
<alexander.deucher@amd.com>
Fri, 28 Aug 2020 15:42:44 +0000
(11:42 -0400)
committer
Alex Deucher
<alexander.deucher@amd.com>
Mon, 5 Oct 2020 19:15:28 +0000
(15:15 -0400)
Fallback to legacy path for now.
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/nv.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/nv.c
b/drivers/gpu/drm/amd/amdgpu/nv.c
index fa72f940ea795d92c1d622aae5f5995b8b7b9dba..6ca5888dcf2fbd6a2d5baabd3cc51973847d17d0 100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/nv.c
+++ b/
drivers/gpu/drm/amd/amdgpu/nv.c
@@
-449,6
+449,10
@@
static int nv_reg_base_init(struct amdgpu_device *adev)
{
int r;
+ /* IP discovery table is not available yet */
+ if (adev->asic_type == CHIP_VANGOGH)
+ goto legacy_init;
+
if (amdgpu_discovery) {
r = amdgpu_discovery_reg_base_init(adev);
if (r) {