commit | 828536385ab0d25b5ddd7153347df04ea3a6961d | [log] [tgz] |
---|---|---|
author | Alex Deucher <alexander.deucher@amd.com> | Tue Mar 27 11:58:14 2018 -0500 |
committer | Alex Deucher <alexander.deucher@amd.com> | Tue May 15 13:43:13 2018 -0500 |
tree | 94745c42689a8b2a48bf012572eb4efae5094ad8 | |
parent | 9da00630188da6e8ad1596c2b58809c833b16154 [diff] |
drm/amdgpu: add emit_reg_write_reg_wait ring callback This callback writes a value to a register and then reads back another register and waits for a value in a single operation. Provide a helper function using two operations for engines that don't support this opertion. Reviewed-by: Huang Rui <ray.huang@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>