OSDN Git Service

nouveau: Do not add most bo's to the global bo list.
authorMaarten Lankhorst <maarten.lankhorst@ubuntu.com>
Thu, 26 Feb 2015 10:54:04 +0000 (11:54 +0100)
committerMaarten Lankhorst <dev@mblankhorst.nl>
Fri, 13 Mar 2015 19:28:16 +0000 (20:28 +0100)
commitba5a0b6274ad9c493ed3ddaf4e13559b9ff55ac1
treef0d862ee9204bb1316779726c251c93c9acdb9d2
parent5ea6f1c32628887c9df0c53bc8c199eb12633fec
nouveau: Do not add most bo's to the global bo list.

Only add wrapped bo's and bo's that have been exported through flink or dma-buf.
This avoids a lock in the common case, and decreases traversal needed for importing
a dma-buf or flink.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@ubuntu.com>
Tested-By: Emil Velikov <emil.l.velikov@gmail.com>
nouveau/nouveau.c