drm/i915: add I915_PARAM_HAS_VEBOX to i915_getparam
authorXiang, Haihao <haihao.xiang@intel.com>
Wed, 29 May 2013 02:22:34 +0000 (19:22 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 31 May 2013 18:54:22 +0000 (20:54 +0200)
commita1f2cc73c762868435ae6ec9126bb2240337c61c
treedca5389d55038886c016df20643d0ce0fa796c4c
parent82f91b6e93e2138c7e02b5a866f63d04cf040c86
drm/i915: add I915_PARAM_HAS_VEBOX to i915_getparam

This will let userland only try to use the new ring
when the appropriate kernel is present

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Reviewed-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_dma.c
include/uapi/drm/i915_drm.h