gallium/dri2: Set winsys_handle type to KMS for stride query.
authorChristopher James Halse Rogers <raof@ubuntu.com>
Thu, 21 Nov 2013 04:11:40 +0000 (15:11 +1100)
committerMaarten Lankhorst <maarten.lankhorst@canonical.com>
Tue, 10 Dec 2013 08:46:09 +0000 (09:46 +0100)
commit6b5e15360a1cf56de7a223a89da0bf0d4693ec22
tree0458bc2ce7021f53172c781819c75929c558000a
parentd5a3a2d2fbc42da04ff7ea09356ada134a42d6dd
gallium/dri2: Set winsys_handle type to KMS for stride query.

Otherwise the default is TYPE_SHARED, which will flink the bo. This seems
rather unnecessary for a simple stride query.

Signed-off-by: Christopher James Halse Rogers <christopher.halse.rogers@canonical.com>
Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
src/gallium/state_trackers/dri/drm/dri2.c