Skip to content
Commit b10c22e5 authored by Herve Jourdain's avatar Herve Jourdain Committed by Eric Anholt
Browse files

drm/vc4: Fix ioctl permissions for render nodes.



Contrary to other flags to DRM_IOCTL_DEF_DRV(), which restrict usage,
the flag for render node is an enabler (the IOCTL can't be used from
render node if it's not present).  So DRM_RENDER_ALLOW needs to be
added to all the flags that were previously 0.

Signed-off-by: default avatarHerve Jourdain <herve.jourdain@neuf.fr>
Reviewed-by: default avatarEric Anholt <eric@anholt.net>
Fixes: 0cd3e274 ("drm/vc4: Add missing render node support")
parent e7c31f6f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment