From: Chris Wilson Date: Fri, 14 Oct 2016 13:27:07 +0000 (+0100) Subject: drm/i915: Emit telltales for extra levels of debug upon initialisation X-Git-Tag: v4.10-rc1~154^2~44^2~24 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=0525a062df00ff728919a752d2204b943cf76bd4;p=karo-tx-linux.git drm/i915: Emit telltales for extra levels of debug upon initialisation After printing our welcome message to the user, also include supplementary details on what debugging is enabled (useful for us to sanity check what extra safeguards are on for any random kernel). Signed-off-by: Chris Wilson Link: http://patchwork.freedesktop.org/patch/msgid/20161014132707.29039-1-chris@chris-wilson.co.uk Reviewed-by: Matthew Auld drm.primary->index); + if (IS_ENABLED(CONFIG_DRM_I915_DEBUG)) + DRM_INFO("DRM_I915_DEBUG enabled\n"); + if (IS_ENABLED(CONFIG_DRM_I915_DEBUG_GEM)) + DRM_INFO("DRM_I915_DEBUG_GEM enabled\n"); intel_runtime_pm_put(dev_priv);