projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6fdd207
)
drm/amdgpu: fix a vcn4 boot poll bug in emulation mode
author
Sonny Jiang
<sonny.jiang@amd.com>
Thu, 21 Jul 2022 17:27:08 +0000
(13:27 -0400)
committer
Alex Deucher
<alexander.deucher@amd.com>
Thu, 28 Jul 2022 20:28:54 +0000
(16:28 -0400)
The return value should be set in vcn4 boot poll.
Signed-off-by: Sonny Jiang <sonny.jiang@amd.com>
Reviewed-by: James Zhu <James.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c
b/drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c
index 0bde38449fd214ee3a434fad953270c10d6e984c..ca14c3ef742ecd27881baa1912bd772ce038fc49 100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c
+++ b/
drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c
@@
-1041,6
+1041,7
@@
static int vcn_v4_0_start(struct amdgpu_device *adev)
}
if (amdgpu_emu_mode==1) {
+ r = -1;
if (status & 2) {
r = 0;
break;