aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/vc4/vc4_validate_shaders.c
diff options
context:
space:
mode:
authorHerve Jourdain <[email protected]>2016-05-31 18:24:46 +0000
committerEric Anholt <[email protected]>2016-06-06 20:00:30 +0000
commitb10c22e5f9902a329450c2027e9291b71e9f1602 (patch)
tree482e93a299aa9652f9890eee9ad11fa423741805 /drivers/gpu/drm/vc4/vc4_validate_shaders.c
parentdrm/vc4: Return -EBUSY if there's already a pending flip event. (diff)
downloadkernel-b10c22e5f9902a329450c2027e9291b71e9f1602.tar.gz
kernel-b10c22e5f9902a329450c2027e9291b71e9f1602.zip
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 <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Fixes: 0cd3e2747662 ("drm/vc4: Add missing render node support")
Diffstat (limited to 'drivers/gpu/drm/vc4/vc4_validate_shaders.c')
0 files changed, 0 insertions, 0 deletions