commit | b10c22e5f9902a329450c2027e9291b71e9f1602 | [log] [tgz] |
---|---|---|
author | Herve Jourdain <herve.jourdain@neuf.fr> | Wed Jun 01 02:24:46 2016 +0800 |
committer | Eric Anholt <eric@anholt.net> | Mon Jun 06 13:00:30 2016 -0700 |
tree | 482e93a299aa9652f9890eee9ad11fa423741805 | |
parent | e7c31f6f25b84fed961dc0dce6248878527693ae [diff] |
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: Herve Jourdain <herve.jourdain@neuf.fr> Reviewed-by: Eric Anholt <eric@anholt.net> Fixes: 0cd3e2747662 ("drm/vc4: Add missing render node support")