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

2018-03-30 Thread Pandiyan, Dhinakaran
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 > /dri/0/i915_edp_psr_debug > > There are no locks

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

2018-03-30 Thread Dhinakaran Pandiyan
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 > /dri/0/i915_edp_psr_debug There are no locks to serialize PSR debug enabling from irq_postinstall() and debugfs for simplic