Skip to content
Commit 7412a014 authored by Marius Vlad's avatar Marius Vlad
Browse files

backend-drm: Retrieve reason if dmabuf import failed



As we could have situations where dmabuf import failed when attempting
to figure it the framebuffer is scanout-capable, make sure we also have
a way to store that information. Otherwise, we could end up
NULL-dereferencing, as we don't provide a valid storage for it.

Further more, with this, we also print out the reason why it failed, to
aid in further debugging.

Observed on platforms where GBM_BO_HANDLE failed + in combination w/
direct-display proto extension.

Signed-off-by: default avatarMarius Vlad <marius.vlad@collabora.com>
parent 8ebebb20
Loading
Loading
Loading
Pipeline #599446 passed with stages
in 2 minutes and 20 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment