]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: add HAS_BSD check to i915_getparam
authorZou Nan hai <nanhai.zou@intel.com>
Mon, 31 May 2010 05:58:47 +0000 (13:58 +0800)
committerEric Anholt <eric@anholt.net>
Tue, 1 Jun 2010 18:21:09 +0000 (11:21 -0700)
commit3ade3320429e8e214440bdbe5825231fc01386ce
tree903c75fcd0e5cc7ef20885562c7807de23323968
parent06e3a17129ea95b153f36a80b1dac656f3642070
drm/i915: add HAS_BSD check to i915_getparam

This will let userland only try to use the new media decode
functionality when the appropriate kernel is present.

Signed-off-by: Zou Nan hai <nanhai.zou@intel.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/i915_dma.c
include/drm/i915_drm.h