xserver/hw/xfree86/dri2
Dave Airlie 329db32922 dri2/prime: allocate prime id at screen allocation time
Add a static mask of prime id and allocate them at screen time,
if the driver supports the prime interfaces and is a gpu screen.

This is instead of them changing due to user controlled randr commands,
as suggested by Keith.

Reviewed-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-07-07 10:39:10 +01:00
..
Makefile.am Add pixman to module dependencies for pixman_region_* functions 2012-07-02 11:08:57 -07:00
dri2.c dri2/prime: allocate prime id at screen allocation time 2012-07-07 10:39:10 +01:00
dri2.h dri2: add initial prime support. (v1.2) 2012-07-07 10:39:10 +01:00
dri2ext.c dri2: add initial prime support. (v1.2) 2012-07-07 10:39:10 +01:00