]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu/gfx: clean up harvest configuration (v2)
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 12 Feb 2016 05:39:13 +0000 (00:39 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 12 Feb 2016 20:47:18 +0000 (15:47 -0500)
commit4bf116313ab0a491754ecc5f5c093d37795ef76d
tree28d02cec68c086a13c9a8745ff510e3ed57077d2
parentefbb340ec5128abee3936b784d4fed1288818dc8
drm/amdgpu/gfx: clean up harvest configuration (v2)

Read back harvest configuration from registers and simplify
calculations.  No need to program the raster config registers.
These are programmed as golden registers and the user mode
drivers program them as well.

v2: rebase on Tom's patches

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/amdgpu_kms.c
drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c