drm/amdgpu: implement vcn_v1_0_(dec|enc)_ring_emit_reg_wait v2
authorChristian König <christian.koenig@amd.com>
Fri, 26 Jan 2018 13:31:07 +0000 (14:31 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 19 Feb 2018 19:19:11 +0000 (14:19 -0500)
commit2b124b0b7085ac2216ac4703e3054963cadc7f47
tree633850bd677836ffef953defce8144a7e805e019
parentd949315a666cb9e34b277bed8fa83dbffa5087b8
drm/amdgpu: implement vcn_v1_0_(dec|enc)_ring_emit_reg_wait v2

Add emit_reg_wait implementation for VCN v1.

v2: cleanup the existing code as well

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