drm/radeon: fixup tiling group size and backendmap on r6xx-r9xx (v4)
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 31 May 2012 23:00:25 +0000 (19:00 -0400)
committerDave Airlie <airlied@redhat.com>
Fri, 1 Jun 2012 16:00:14 +0000 (17:00 +0100)
commit416a2bd274566a6f607a271f524b2dc0b84d9106
tree502720262c07cdb14bc14155bc8295cc20a7d411
parent95c4b23ec4e2fa5604df229ddf134e31d7b3b378
drm/radeon: fixup tiling group size and backendmap on r6xx-r9xx (v4)

Tiling group size is always 256bits on r6xx/r7xx/r8xx/9xx. Also fix and
simplify render backend map. This now properly sets up the backend map
on r6xx-9xx which should improve 3D performance.

Vadim benchmarked also:
Some benchmarks on juniper (5750), fullscreen 1920x1080,
first result - kernel 3.4.0+ (fb21affa), second - with these patches:

Lightsmark:   91 fps => 123 fps    +35%
Doom3:        74 fps => 101 fps    +36%

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/evergreen.c
drivers/gpu/drm/radeon/evergreend.h
drivers/gpu/drm/radeon/ni.c
drivers/gpu/drm/radeon/nid.h
drivers/gpu/drm/radeon/r600.c
drivers/gpu/drm/radeon/r600d.h
drivers/gpu/drm/radeon/radeon.h
drivers/gpu/drm/radeon/rv770.c
drivers/gpu/drm/radeon/rv770d.h