drm/amdgpu: add support for inplace IB patching for MM engines v2
authorChristian König <christian.koenig@amd.com>
Mon, 23 Jul 2018 14:01:39 +0000 (16:01 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 27 Jul 2018 14:07:41 +0000 (09:07 -0500)
commit9d248517d4bd807c7690d55d0b6f54618fc60942
treeac85222e732820ed7b44f441bdbe894fd5e5f6db
parent6d52aacd92c60331ec8c3117522f4301b5195e28
drm/amdgpu: add support for inplace IB patching for MM engines v2

We are going to need that for the second UVD instance on Vega20.

v2: rename to patch_cs_in_place

Signed-off-by: Christian König <christian.koenig@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/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h