mirror of
https://github.com/torvalds/linux.git
synced 2026-05-20 21:08:08 +02:00
drm/amdgpu: fix a vcn4 boot poll bug in emulation mode
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>
This commit is contained in:
parent
6fdd2077ec
commit
736f7308d3
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user