drm/amdgpu: implement PRT for GFX6 v2
authorChristian König <christian.koenig@amd.com>
Fri, 27 Jan 2017 10:56:05 +0000 (11:56 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 30 Mar 2017 03:52:57 +0000 (23:52 -0400)
commitf7c35abe933c2ee34008c7415578611adcf3fcc6
tree194b6fac2e6a9174df80d86e3e86b0f8f215a3e2
parentb85891bd6d1bf887b3398f4c44b7a30b37f4485e
drm/amdgpu: implement PRT for GFX6 v2

Enable/disable the handling globally for now and
print a warning when we enable it for the first time.

v2: write to the correct register, adjust bits to that hw generation
v3: fix compilation, add the missing register bit definitions

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c
drivers/gpu/drm/amd/include/asic_reg/gmc/gmc_6_0_sh_mask.h