mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-04 00:06:36 +00:00
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
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue