summaryrefslogtreecommitdiff
path: root/src/sna/sna_render_inline.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2011-12-17 16:28:04 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2011-12-17 21:26:35 +0000
commitd20d167a753d8e4fe581950e1bc49f29e0ec9f1f (patch)
tree70eb00a45d1c9c23528581cbeef6b947804f76bb /src/sna/sna_render_inline.h
parentdd8fd6c90612ada39eb32b98adc5acc97e7902aa (diff)
sna: Upload to large pixmaps inplace
When the pixmap is large, larger than L2 cache size, we are unlikely to benefit from first copying the data to a shadow buffer -- as that shadow buffer itself will mostly reside in main memory. In such circumstances we may as perform the write to the GTT mapping of the GPU bo. As such, it is a fragile heuristic that may require further tuning. Avoiding that extra copy gives a 30% boost to putimage500/shmput500 at ~10% cost to putimage10/shmput10 on Atom (945gm/PineView), without any noticeable impact upon cairo. Reported-by: Michael Larabel <Michael@phoronix.com> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_render_inline.h')
0 files changed, 0 insertions, 0 deletions