drm/i915: Local debug BUG_ON for intel_wakeref
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 21 Jun 2019 18:38:01 +0000 (19:38 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 21 Jun 2019 18:48:00 +0000 (19:48 +0100)
commitfb993aa7a4049263fc1a139daf89fadc79a0ecc7
tree245d06f1c0b7694b8162dba0d6e68c56a85a9a51
parent12c255b5dad115e87f81ea45708b5f82b9a55253
drm/i915: Local debug BUG_ON for intel_wakeref

Avoid pulling in i915_gem.h just so that we can use a conditional BUG_ON
for debugging.

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