]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: add I915_PARAM_HAS_BSD2 to i915_getparam
authorZhipeng Gong <zhipeng.gong@intel.com>
Tue, 13 Jan 2015 00:48:25 +0000 (08:48 +0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 27 Jan 2015 08:51:05 +0000 (09:51 +0100)
commit253393dc27157d34afd5c0b8b7aa1a937b823827
treef2148931c9b2b7d218415772c378cea3228cf9af
parent24b54f92abac1c13f0049d0f95d622fb636745fb
drm/i915: add I915_PARAM_HAS_BSD2 to i915_getparam

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

v2: change the number to be consistent with upstream (Zhipeng)

Signed-off-by: Zhipeng Gong <zhipeng.gong@intel.com>
Reviewed--by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_dma.c
include/uapi/drm/i915_drm.h