summaryrefslogtreecommitdiffstats
path: root/include/drm
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2009-03-20 02:56:14 +0100
committerDave Airlie <airlied@redhat.com>2009-03-29 10:31:37 +0200
commit955a23eb3cfc773e71b05bb7a0a0938a9e1b2568 (patch)
tree7a9124ddf103ef1f6337484bb5e5ae51c9c288a6 /include/drm
parentdrm/radeon: add regs required for occlusion queries support (diff)
downloadlinux-955a23eb3cfc773e71b05bb7a0a0938a9e1b2568.tar.xz
linux-955a23eb3cfc773e71b05bb7a0a0938a9e1b2568.zip
drm: Use a little stash on the stack to avoid kmalloc in most DRM ioctls.
The kmalloc was taking up about 1.5% of the CPU on an ioctl-heavy workload (x11perf -aa10text on 965). Initial results look like they have a corresponding improvement in performance for aa10text, but more numbers might not hurt. Thanks to ajax for pointing out this performance regression I'd introduced back in 2007. [airlied: well I introduced it sneakily inside Eric's patch] Signed-off-by: Eric Anholt <eric@anholt.net> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include/drm')
0 files changed, 0 insertions, 0 deletions