drm/amd/amdgpu: Add offset variant to SOC15 macros
authorTom St Denis <tom.stdenis@amd.com>
Mon, 12 Jun 2017 16:05:42 +0000 (12:05 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 15 Jun 2017 15:50:30 +0000 (11:50 -0400)
commit496828e78625e021ba51f4bd060c026c4cbab718
tree781218b245ab5c14a1ee32964b789b82587eb2ea
parent9d90f0bd7caafb2a2e157e49842891e9b6acfe65
drm/amd/amdgpu: Add offset variant to SOC15 macros

Allows reading/writing via SOC15 macros with offset for
various register banks.

Signed-off-by: Tom St Denis <tom.stdenis@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/soc15_common.h