aboutsummaryrefslogtreecommitdiff
path: root/backend/x11
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-01-21 10:14:23 +0100
committerSimon Ser <contact@emersion.fr>2021-01-23 16:41:54 +0100
commit4f06ce255029a8d216d49e437632e2ecc79ef433 (patch)
tree06f6496947d39df753f16305aac817a26e1c17ad /backend/x11
parent7bc8dbb991ecebd7c5117776a043f886593cbd97 (diff)
render/gbm_allocator: avoid drmPrimeHandleToFD
Some drivers (e.g. nouveau) need to do some book-keeping when exporting a BO handle to a DMA-BUF [1]. Using drmPrimeHandleToFD directly hides the export from the user-space drivers and causes some ref'counting issues. So we can't properly handle BOs with a different handle for each plane until [2] lands. [1]: https://gitlab.freedesktop.org/drm/nouveau/-/issues/43#note_772661 [2]: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5442 Suggested-by: Ilia Mirkin <imirkin@alum.mit.edu>
Diffstat (limited to 'backend/x11')
0 files changed, 0 insertions, 0 deletions