Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/amdgpu/jpeg4.0.3: remove redundant sr-iov check

The per queue reset flag is only set when sr-iov is
disabled so this check is not necessary as the function
will never be called on sr-iov.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

-3
-3
drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_3.c
··· 1145 1145 unsigned int vmid, 1146 1146 struct amdgpu_fence *timedout_fence) 1147 1147 { 1148 - if (amdgpu_sriov_vf(ring->adev)) 1149 - return -EOPNOTSUPP; 1150 - 1151 1148 amdgpu_ring_reset_helper_begin(ring, timedout_fence); 1152 1149 jpeg_v4_0_3_core_stall_reset(ring); 1153 1150 jpeg_v4_0_3_start_jrbc(ring);