OSDN Git Service

drm/vc4: Add missing render node support
authorEric Anholt <eric@anholt.net>
Fri, 15 Apr 2016 06:16:05 +0000 (23:16 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 2 May 2016 23:18:10 +0000 (16:18 -0700)
There shouldn't be any other driver support necessary, since none of
the driver-specific ioctls ever required auth, and none of them deal
with modesetting.

Signed-off-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/vc4/vc4_drv.c

index 54f9f52..143dd98 100644 (file)
@@ -81,6 +81,7 @@ static struct drm_driver vc4_drm_driver = {
                            DRIVER_ATOMIC |
                            DRIVER_GEM |
                            DRIVER_HAVE_IRQ |
+                           DRIVER_RENDER |
                            DRIVER_PRIME),
        .lastclose = vc4_lastclose,
        .irq_handler = vc4_irq,