I have revived the PSR interrupt patches that Daniel and Ville had worked on [1], added debugfs control for the interrupts and exposed interrupt timestamps via debugfs. The idea is to provide a mechanism for CI tests to know whether a PSR exit event succeeded and if PSR re-enters when it is expected to do so. This series was tested on a SKL laptop. Daniel Vetter (2): drm/i915: Enable edp psr error interrupts on hsw drm/i915: Enable edp psr error interrupts on bdw+ Note: This patch has Daniel's name as the author but has Ville's Signed-off, I have left it as it is. Dhinakaran Pandiyan (2): drm/i915/psr: Control PSR interrupts via debugfs drm/i915/psr: Timestamps for PSR entry and exit interrupts. Ville Syrjälä (1): drm/i915: Drop reg_write from the PSR mask [1] https://github.com/vsyrjala/linux/tree/psr_interrupts_2 drivers/gpu/drm/i915/i915_debugfs.c | 48 +++++++++++++++++++++++- drivers/gpu/drm/i915/i915_drv.h | 4 ++ drivers/gpu/drm/i915/i915_irq.c | 61 ++++++++++++++++++++++++++++-- drivers/gpu/drm/i915/i915_reg.h | 9 +++++ drivers/gpu/drm/i915/intel_display.h | 4 ++ drivers/gpu/drm/i915/intel_drv.h | 2 + drivers/gpu/drm/i915/intel_psr.c | 73 ++++++++++++++++++++++++++++++++++++ 7 files changed, 197 insertions(+), 4 deletions(-) -- 2.14.1 _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx