Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 976accc1 authored by Rex Zhu's avatar Rex Zhu Committed by Alex Deucher
Browse files

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: default avatarRex Zhu <Rex.Zhu@amd.com>
Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Reviewed-by: default avatarChristian König <christian.koenig@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent cb48a13e
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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;