Re: [Intel-gfx] [RFC][PATCH 12/12] drm/i915: Add encoder .sync_state() hook

2016-07-29 Thread Daniel Vetter
On Thu, Jul 28, 2016 at 05:50:48PM +0300, ville.syrj...@linux.intel.com wrote: > From: Ville Syrjälä > > We cache a bunch of state under the encoders (eg. link freq and > lane count for DP). We need to refresh that cached state on > init/resume during hardware readout. Since we have already read

[Intel-gfx] [RFC][PATCH 12/12] drm/i915: Add encoder .sync_state() hook

2016-07-28 Thread ville . syrjala
From: Ville Syrjälä We cache a bunch of state under the encoders (eg. link freq and lane count for DP). We need to refresh that cached state on init/resume during hardware readout. Since we have already read out most interesting details into the pipe config, let's add a new optional encoder hook