drm/amdgpu: Polish SQ IH.
authorAndrey Grodzovsky <andrey.grodzovsky@amd.com>
Mon, 18 Jun 2018 15:15:10 +0000 (11:15 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 Jul 2018 21:38:26 +0000 (16:38 -0500)
commitd9e222b460b195a47b30fd9057fbb131fcbd7bac
treec012badb8f330fef569e575cad7d23aacb906869
parentb374d82dca4721c534eb940b599dd4d45ba3a18f
drm/amdgpu: Polish SQ IH.

Switch to using reg fields defines istead of magic values.
Add SH_ID and PRIV fields reading for instr. and err cases.

Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c