drm/amdgpu/gfx8: implement emit_rreg/wreg function
authorXiangliang Yu <Xiangliang.Yu@amd.com>
Thu, 12 Jan 2017 05:57:48 +0000 (13:57 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 27 Jan 2017 16:13:21 +0000 (11:13 -0500)
commit880e87e380985480cc5bee5f389f912554064930
treed0d3bee08cf004f0a78b741dc888f92cc3ba1f7c
parentb6091c1217e16606ee231c053cde000d8fa1f674
drm/amdgpu/gfx8: implement emit_rreg/wreg function

Implement emit_rreg/wreg function for kiq ring.

Signed-off-by: Xiangliang Yu <Xiangliang.Yu@amd.com>
Signed-off-by: Monk Liu <Monk.Liu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c