drm/amd/amdgpu: Clean up gfx_v8_0_kiq_set_interrupt_state()
authorTom St Denis <tom.stdenis@amd.com>
Tue, 4 Apr 2017 13:14:13 +0000 (09:14 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 6 Apr 2017 17:26:47 +0000 (13:26 -0400)
commitccaf3574451ffe814823e7920089417b3abc9b89
tree223c37fbe524fc1cdbcdff7981f29ccf74a6f8ba
parentfcf17a43ffd3b248d03b582b834367c45e9e8f59
drm/amd/amdgpu: Clean up gfx_v8_0_kiq_set_interrupt_state()

Use new WREG32_FIELD_OFFSET() to clean up code.

Signed-off-by: Tom St Denis <tom.stdenis@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.h
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c