summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorMarek Olšák <maraeo@gmail.com>2011-02-12 21:21:35 +0300
committerDave Airlie <airlied@redhat.com>2011-02-14 02:23:27 +0300
commit40b4a7599d5555b408e594f4c8dae8015ccaae8f (patch)
tree7241f131fe800f67b49b0d66241609b3e171270d /arch
parent01e2f533a234dc62d16c0d3d4fb9d71cf1ce50c3 (diff)
downloadlinux-40b4a7599d5555b408e594f4c8dae8015ccaae8f.tar.xz
drm/radeon/kms: optimize CS state checking for r100->r500
The colorbuffer, zbuffer, and texture states are checked only once when they get changed. This improves performance in the apps which emit lots of draw packets and few state changes. This drops performance in glxgears by a 1% or so, but glxgears is not a benchmark we care about. The time spent in the kernel when running Torcs dropped from 33% to 23% and the frame rate is higher, which is a good thing. r600 might need something like this as well. Signed-off-by: Marek Olšák <maraeo@gmail.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions