drm/amdgpu: patch the IBs for the second UVD instance v2
authorChristian König <christian.koenig@amd.com>
Wed, 18 Jul 2018 12:52:42 +0000 (14:52 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 27 Jul 2018 14:07:41 +0000 (09:07 -0500)
commit66c28d6df2d8292098839d365b82a1e30b567211
treef4344cff1d184ba0fb5214749e2353f4182accf3
parent9d248517d4bd807c7690d55d0b6f54618fc60942
drm/amdgpu: patch the IBs for the second UVD instance v2

Patch the IBs for the second UVD instance so that userspace don't need
to care about the instance they submit to.

v2: use direct IB patching

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