drm/i915: Support render nodes
authorKristian Høgsberg <krh@bitplanet.net>
Sun, 25 Aug 2013 16:29:01 +0000 (18:29 +0200)
committerDave Airlie <airlied@redhat.com>
Mon, 2 Sep 2013 00:51:42 +0000 (10:51 +1000)
commit10ba50129ab0bdbc0ee712e50913d1c8db88c5f0
treeef18d3f0c64e332c6c7bf963d3e93cb563e50aab
parent101b96f32956ee99bf1468afaf572b88cda9f88b
drm/i915: Support render nodes

Enable support for drm render nodes for i915 by flagging the ioctls that
are safe and just needed for rendering.

v2: mark reg_read, set_caching and get_caching (ickle, danvet)

Signed-off-by: Kristian Høgsberg <krh@bitplanet.net>
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/i915/i915_dma.c
drivers/gpu/drm/i915/i915_drv.c