drm/amdgpu/soc15: return cached values for some registers (v2)
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 24 Mar 2017 19:05:07 +0000 (15:05 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 30 Mar 2017 03:55:45 +0000 (23:55 -0400)
commitc013cea2df9c06aca7e218d8d41693ba2d17455d
treebdecc7116610ff9af87b5fca12cb1b2ba1d874b6
parent2572c24ca9f4a427b876f3e7718097e9c4b9ddc7
drm/amdgpu/soc15: return cached values for some registers (v2)

Required for SR-IOV and saves MMIO transactions.

v2: drop cached RB harvest registers

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/soc15.c