drm/amdgpu: minor CS optimization
authorChristian König <christian.koenig@amd.com>
Thu, 12 Oct 2017 10:16:33 +0000 (12:16 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 19 Oct 2017 19:27:09 +0000 (15:27 -0400)
commitc5795c555bbaca51192ffc6164bb85845ecdf717
tree49cc73367731d629c7ce063dc4d16f1344ad1a82
parent7fd5e36caec1598c49ef97d3e53cdd89c1da2770
drm/amdgpu: minor CS optimization

We only need to loop over all IBs for old UVD/VCE command stream patching.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c