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)
commit8f8e00c17e63c8893890c9440ad30dbef77ffe58
tree28d02cec68c086a13c9a8745ff510e3ed57077d2
parenta750b47e49f85041d894ef3a5e77bce64a60c6a0
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
This page took 0.026103 seconds and 5 git commands to generate.