drm/amdgpu/vcn1: add emit_reg_write_reg_wait ring callback
authorAlex Deucher <[email protected]>
Tue, 27 Mar 2018 22:06:52 +0000 (17:06 -0500)
committerAlex Deucher <[email protected]>
Tue, 15 May 2018 18:43:15 +0000 (13:43 -0500)
commitf58b85e3ec0e3d3ddeff6eb16ace23a42516ae70
tree48af075887ed694be1eae801b338b5b4d2d8b728
parent3fa0b1cbc0a57a21c1688601f6b9c340441ba3b6
drm/amdgpu/vcn1: add emit_reg_write_reg_wait ring callback

This adds support for writing and reading back using the
helper since the engines doesn't have a oneshot packet.

Reviewed-by: Huang Rui <[email protected]>
Reviewed-by: Christian König <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c