Skip to content
Commit b3628506 authored by Simon Ser's avatar Simon Ser
Browse files

xf86drmMode: set FB_MODIFIERS flag when modifiers are supplied



The kernel will always return EINVAL if modifiers are supplied but
the flag DRM_MODE_FB_MODIFIERS isn't set. That's a pretty nice
footgun.

Be a little more helpful and set the flag if the user has supplied
a modifier array.

Signed-off-by: default avatarSimon Ser <contact@emersion.fr>
Reviewed-by: default avatarEmil Velikov <emil.velikov@collabora.com>
parent a5a400c9
Loading
Loading
Loading
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