drm/amdgpu: No need to stop hw init although vce's state was not true.
This is not a fatal error. v2: add comment why ignore the error here. Signed-off-by: Rex Zhu <Rex.Zhu@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
cb48a13ef9
commit
976accc114
@ -240,7 +240,8 @@ static int vce_v2_0_hw_init(void *handle)
|
||||
|
||||
r = vce_v2_0_start(adev);
|
||||
if (r)
|
||||
return r;
|
||||
/* this error mean vcpu not in running state, so just skip ring test, not stop driver initialize */
|
||||
return 0;
|
||||
|
||||
ring = &adev->vce.ring[0];
|
||||
ring->ready = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user