drm/i915/psr: Timestamps for PSR entry and exit interrupts.
authorDhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Tue, 3 Apr 2018 21:24:20 +0000 (14:24 -0700)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Fri, 20 Apr 2018 21:28:18 +0000 (14:28 -0700)
commit3f983e54fdad452582843b9fbc22df0eb67daacd
tree3fb727af60042adfbbf7d96ffec6618729344e90
parent54fd3149598cc2f74cf0708d614470da2331a374
drm/i915/psr: Timestamps for PSR entry and exit interrupts.

Timestamps are useful for IGT tests that trigger PSR exit and/or wait for
PSR entry.

v2: Removed seqlock (Ville)
    Removed erroneous warning in irq loop (Chris)

Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Reviewed-by: Jose Roberto de Souza <jose.souza@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180403212420.25007-4-dhinakaran.pandiyan@intel.com
drivers/gpu/drm/i915/i915_debugfs.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_psr.c