Re: [Intel-gfx] [PATCH] drm/i915: only disable memory self-refresh on GMCH

2016-06-03 Thread Ville Syrjälä
On Thu, May 19, 2016 at 03:50:36PM +0300, David Weinehall wrote: > The atomic version of intel_pre_plane_update did not check > for HAS_GMCH_DISPLAY before calling intel_set_memory_cxsr(). > While this doesn't cause any issues on its own (it will > return without doing anything if the hardware does

[Intel-gfx] [PATCH] drm/i915: only disable memory self-refresh on GMCH

2016-05-19 Thread David Weinehall
The atomic version of intel_pre_plane_update did not check for HAS_GMCH_DISPLAY before calling intel_set_memory_cxsr(). While this doesn't cause any issues on its own (it will return without doing anything if the hardware doesn't have the required feature), the drm_wait_one_vblank() that is needed