kms-swrast: Support Prime fd handling
authorAndreas Pokorny <andreas.pokorny@canonical.com>
Fri, 22 Aug 2014 16:41:11 +0000 (18:41 +0200)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 5 Sep 2014 13:14:37 +0000 (14:14 +0100)
commit8bcd57a46ce9d4a960253fd89ad21bd3e1776f8b
treefc0eedd41b477cafa4dca3880006f24feeef8128
parent76b906c9f6ebe1626e9ace5ea8336167aa210876
kms-swrast: Support Prime fd handling

Allows using prime fds as display target and from display target.
Test for PRIME capability after initializing kms_swrast screen.

Cc: mesa-stable@lists.freedesktop.org
Signed-off-by: Andreas Pokorny <andreas.pokorny@canonical.com>
src/gallium/state_trackers/dri/dri2.c
src/gallium/winsys/sw/kms-dri/kms_dri_sw_winsys.c