]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/psr: Add missing check for I915_PSR_DEBUG_IRQ bit
authorDhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Tue, 21 Aug 2018 22:11:55 +0000 (15:11 -0700)
committerDhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Wed, 22 Aug 2018 00:54:52 +0000 (17:54 -0700)
commit9844d4bf3eb46778f46390d7beee5add650d5fc0
treef0b1b9c1228f156be15c6b6d6421c6b1a358162f
parent63ec132d5b60a0d504a82ac0356557112dfbb114
drm/i915/psr: Add missing check for I915_PSR_DEBUG_IRQ bit

We print the last attempted entry and last exit timestamps only when
IRQ debug is requested. This check was missed when new debug flags were
added in 'commit c44301fce614 ("drm/i915: Allow control of PSR at
runtime through debugfs, v6")

Fixes: c44301fce614 ("drm/i915: Allow control of PSR at runtime through
debugfs, v6")
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180821221156.2442-2-dhinakaran.pandiyan@intel.com
drivers/gpu/drm/i915/i915_debugfs.c