]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9534770f63141347ef81254e06cac5426f41358d
tree194b6fac2e6a9174df80d86e3e86b0f8f215a3e2
parent09e4ad53b4e4d31ad98cd347fe8e2b8b1314aa0b
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