drm/i915: use drm_debug_enabled() to check for debug categories
authorJani Nikula <jani.nikula@intel.com>
Mon, 28 Oct 2019 10:38:15 +0000 (12:38 +0200)
committerJani Nikula <jani.nikula@intel.com>
Thu, 14 Nov 2019 12:08:19 +0000 (14:08 +0200)
commitbdbf43d739f4d2379419504747b589b421c67e20
tree5c56ea43c9727b8bc1d46df5b5c5b86ccd84d5d1
parentdb9cd76d099a0e4337d30e22c89fe019332bcec1
drm/i915: use drm_debug_enabled() to check for debug categories

Allow better abstraction of the drm_debug global variable in the
future. No functional changes.

Reviewed-by: Eric Engestrom <eric@engestrom.ch>
Acked-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Acked-by: Sean Paul <sean@poorly.run>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/e94fe4977c5b8cac68556318be81f8e422e973fd.1572258936.git.jani.nikula@intel.com
drivers/gpu/drm/i915/display/intel_display.c
drivers/gpu/drm/i915/display/intel_dp.c
drivers/gpu/drm/i915/i915_drv.c
drivers/gpu/drm/i915/i915_gem.h
drivers/gpu/drm/i915/i915_utils.c
drivers/gpu/drm/i915/intel_pm.c