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)
commit292a27b0a807615f4c140b990802f109c72d6c8c
treed56ba67d3dada07e6a948ee4b126b1f26095af29
parent4a3174152147da1159f7135e90e1831fba74da34
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