]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/lmem: Check against i915_selftest only under CONFIG_SELFTEST
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 1 Nov 2019 09:51:47 +0000 (09:51 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 1 Nov 2019 10:12:29 +0000 (10:12 +0000)
commit53a3ea6672bd73d746389b7844562cd0e7b216b8
treed56ba67d3dada07e6a948ee4b126b1f26095af29
parentee80fd16aa52af6bfdcac187623eda9db63ca575
drm/i915/lmem: Check against i915_selftest only under CONFIG_SELFTEST

The i915_selftest module parameters only exist when
CONFIG_DRM_I915_SELFTEST is set.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Matthew Auld <matthew.auld@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191101095147.9769-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_drv.c