summaryrefslogtreecommitdiff
path: root/Xi/listdev.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2012-07-07 10:10:08 +0100
committerDave Airlie <airlied@redhat.com>2012-07-07 10:39:10 +0100
commit329db3292223cccd4887062956622285c45a1523 (patch)
treef52dd5069829c4568ef994b3d769ede66d402e17 /Xi/listdev.c
parent30298012162de7f76e8a4c7b0362e98703f80011 (diff)
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>
Diffstat (limited to 'Xi/listdev.c')
0 files changed, 0 insertions, 0 deletions