X Acceleration that Finally Works Carl Worth - - PowerPoint PPT Presentation

x acceleration that finally works carl worth cworth
SMART_READER_LITE
LIVE PREVIEW

X Acceleration that Finally Works Carl Worth - - PowerPoint PPT Presentation

X Acceleration that Finally Works Carl Worth <cworth@redhat.com> Eric Anholt <eric@anholt.net> linux.conf.au MEL OURNE 8 2008 X Graphics linux.conf.au MEL OURNE 8 2008 1 X Acceleration that Finally Works X Graphics


slide-1
SLIDE 1

X Acceleration that Finally Works Carl Worth <cworth@redhat.com> Eric Anholt <eric@anholt.net>

linux.conf.au MEL OURNE 8 2008

slide-2
SLIDE 2

X Graphics

linux.conf.au MEL OURNE 8 2008

1 X Acceleration that Finally Works

slide-3
SLIDE 3

X Graphics Rock X Graphics Rock

slide-4
SLIDE 4

Problem Space

linux.conf.au MEL OURNE 8 2008

3 X Acceleration that Finally Works

slide-5
SLIDE 5

Core Xlib drawing primitives

Solid fills Bitwise raster operations Non-antiliased lines/arcs Server-side fonts

linux.conf.au MEL OURNE 8 2008

4 X Acceleration that Finally Works

slide-6
SLIDE 6

Render extension primitives

Image compositing Client-side font support Trapezoid rasterization Gradients

linux.conf.au MEL OURNE 8 2008

5 X Acceleration that Finally Works

slide-7
SLIDE 7

Past attempts

linux.conf.au MEL OURNE 8 2008

6 X Acceleration that Finally Works

slide-8
SLIDE 8

XAA

fills, copies, stipple fills, bresenham lines 2D rectangular memory manager almost no pixmap caching

linux.conf.au MEL OURNE 8 2008

7 X Acceleration that Finally Works

slide-9
SLIDE 9

KAA

fills, copies linear memory manager caches all pixmaps

linux.conf.au MEL OURNE 8 2008

8 X Acceleration that Finally Works

slide-10
SLIDE 10

EXA

fills, copies, textured blending linear memory manager caches all pixmaps, migration heuristics

linux.conf.au MEL OURNE 8 2008

9 X Acceleration that Finally Works

slide-11
SLIDE 11

Hardware

linux.conf.au MEL OURNE 8 2008

10 X Acceleration that Finally Works

slide-12
SLIDE 12

Graphics device support

Provides fills, copies, textured blending Has no local memory Aperture reads still expensive GART binding is cheap

linux.conf.au MEL OURNE 8 2008

11 X Acceleration that Finally Works

slide-13
SLIDE 13

Recent Work

linux.conf.au MEL OURNE 8 2008

12 X Acceleration that Finally Works

slide-14
SLIDE 14

TTM

kernel graphics memory manager buffer objects fences

linux.conf.au MEL OURNE 8 2008

13 X Acceleration that Finally Works

slide-15
SLIDE 15

EXA with TTM

fills copies, textured blending all pixmaps in buffer objects migration by GART binding

linux.conf.au MEL OURNE 8 2008

14 X Acceleration that Finally Works

slide-16
SLIDE 16

965 Render acceleration

Accumulates operations in batchbuffer Enumerate all programs and state

linux.conf.au MEL OURNE 8 2008

15 X Acceleration that Finally Works

slide-17
SLIDE 17

Status

linux.conf.au MEL OURNE 8 2008

16 X Acceleration that Finally Works

slide-18
SLIDE 18
slide-19
SLIDE 19
slide-20
SLIDE 20

Demo

linux.conf.au MEL OURNE 8 2008

19 X Acceleration that Finally Works

slide-21
SLIDE 21

Future work

Cache flushing reduction Surface state caching Gradients acceleration

linux.conf.au MEL OURNE 8 2008

20 X Acceleration that Finally Works