Re: [Intel-gfx] [PATCH 2/2] drm/i915/psr: Remove open-coded PSR AUX transactions for SKL+

2018-03-21 Thread Rodrigo Vivi
On Tue, Mar 13, 2018 at 08:46:56PM +, Souza, Jose wrote: > On Mon, 2018-03-12 at 20:46 -0700, Dhinakaran Pandiyan wrote: > > HSW and BDW have SRD_AUX_{CTL, STATUS} registers that the driver > > needs to > > setup for the HW to use whenever exiting PSR. SKL+ hardware use > > hardcoded > >

Re: [Intel-gfx] [PATCH 2/2] drm/i915/psr: Remove open-coded PSR AUX transactions for SKL+

2018-03-13 Thread Souza, Jose
On Mon, 2018-03-12 at 20:46 -0700, Dhinakaran Pandiyan wrote: > HSW and BDW have SRD_AUX_{CTL, STATUS} registers that the driver > needs to > setup for the HW to use whenever exiting PSR. SKL+ hardware use > hardcoded > values for the same and do not need any registers to be setup. So, > use >

[Intel-gfx] [PATCH 2/2] drm/i915/psr: Remove open-coded PSR AUX transactions for SKL+

2018-03-12 Thread Dhinakaran Pandiyan
HSW and BDW have SRD_AUX_{CTL, STATUS} registers that the driver needs to setup for the HW to use whenever exiting PSR. SKL+ hardware use hardcoded values for the same and do not need any registers to be setup. So, use drm_dp_dpcd_writeb() for a one-time write during PSR enable and setup the PSR