[Intel-gfx] [PATCH v3] drm/i915/psr: Control PSR interrupts via debugfs

Pandiyan, Dhinakaran dhinakaran.pandiyan at intel.com
Fri Mar 30 21:22:28 UTC 2018

On Fri, 2018-03-30 at 14:15 -0700, Dhinakaran Pandiyan wrote:
> Interrupts other than the one for AUX errors are required only for debug,
> so unmask them via debugfs when the user requests debug.
> User can make such a request with
> echo 1 > <DEBUG_FS>/dri/0/i915_edp_psr_debug
> There are no locks to serialize PSR debug enabling from
> irq_postinstall() and debugfs for simplicity. As irq_postinstall() is
> called only during module initialization/resume and IGT subtests
> aren't expected to modify PSR debug at those times, we should be safe.

Let me know what you think, I am not completely sure about this.

More information about the Intel-gfx mailing list