Re: [Intel-gfx] [PATCH v2 10/16] drm/i915: Improve watermark dirtyness checks

2013-10-11 Thread Paulo Zanoni
2013/10/11 : > From: Ville Syrjälä > > Currently hsw_write_vm_values() may write to certain watermark > registers needlessly. For instance if only, say, LP3 changes, > the current code will again disable all LP1+ watermarks even > though only LP3 needs to be reconfigured. > > Add an easy to read

[Intel-gfx] [PATCH v2 10/16] drm/i915: Improve watermark dirtyness checks

2013-10-11 Thread ville . syrjala
From: Ville Syrjälä Currently hsw_write_vm_values() may write to certain watermark registers needlessly. For instance if only, say, LP3 changes, the current code will again disable all LP1+ watermarks even though only LP3 needs to be reconfigured. Add an easy to read function that will compute t