0340-drm-vc4-Add-missing-render-node-support.patch 919 B

1234567891011121314151617181920212223242526
  1. From af5a17532c46fe8035fea72ba7d9409b7c9795f9 Mon Sep 17 00:00:00 2001
  2. From: Eric Anholt <eric@anholt.net>
  3. Date: Thu, 14 Apr 2016 23:16:05 -0700
  4. Subject: [PATCH 340/381] drm/vc4: Add missing render node support
  5. There shouldn't be any other driver support necessary, since none of
  6. the driver-specific ioctls ever required auth, and none of them deal
  7. with modesetting.
  8. Signed-off-by: Eric Anholt <eric@anholt.net>
  9. Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
  10. (cherry picked from commit 0cd3e27476620176c19e346f82576c6e139b85a9)
  11. ---
  12. drivers/gpu/drm/vc4/vc4_drv.c | 1 +
  13. 1 file changed, 1 insertion(+)
  14. --- a/drivers/gpu/drm/vc4/vc4_drv.c
  15. +++ b/drivers/gpu/drm/vc4/vc4_drv.c
  16. @@ -90,6 +90,7 @@ static struct drm_driver vc4_drm_driver
  17. DRIVER_ATOMIC |
  18. DRIVER_GEM |
  19. DRIVER_HAVE_IRQ |
  20. + DRIVER_RENDER |
  21. DRIVER_PRIME),
  22. .lastclose = vc4_lastclose,
  23. .preclose = vc4_drm_preclose,