On Mon, 6 May 2013 16:45:52 +0300 ville.syrj...@linux.intel.com wrote: > From: Ville Syrjälä <ville.syrj...@linux.intel.com> > > Rewrite the ILK+ watermark code to allow: > - updating the watermarks safely (to avoid underruns) > - pre-computing watermarks (will help with atomic modest and pageflip) > - enabling LP1+ watermarks for HSW multi-pipe scenarios
This looks like the right way to go long term. But Paulo's patches for HSW are fairly small and make things better immediately, so we should probably get them in first. This one needs to be split up somehow so we can review it better like you mention in the TODO. Another thing that I used when doing the WM code way back when was to port it to userspace and run through various configs to make sure the values were all sane. Might be nice if we could do that easily somehow, maybe with an #ifdef or putting all the wm stuff into a separate file. -- Jesse Barnes, Intel Open Source Technology Center _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx