[Intel-gfx] [PATCH 4/5] drm/i915: Idleness detection for DRRS
Chris Wilson
chris at chris-wilson.co.uk
Wed Dec 18 10:04:42 CET 2013
On Wed, Dec 18, 2013 at 01:48:12PM +0530, Vandana Kannan wrote:
> On Dec-17-2013 5:59 PM, Chris Wilson wrote:
> > On Tue, Dec 17, 2013 at 10:58:26AM +0530, Vandana Kannan wrote:
> >> Adding support to detect display idleness by tracking page flip from
> >> user space. Switch to low refresh rate is triggered after 2 seconds of
> >> idleness. The delay is configurable. If there is a page flip or call to
> >> update the plane, then high refresh rate is applied.
> >> The feature is not used in dual-display mode.
> >
> > Looks very inconsistent next to intel_fbc_disable/intel_fbc_update.
> > -Chris
> >
> We have implemented this in a way that it is similar to fbc
> implementation. Could you explain some more about your review comment?
See the split between intel_fbc_disable and intel_fbc_update and how it
would make your code more tidy, your API harder to get wrong and make it
easier to integrate all of these triggers into a single routine. Also
note that you miss out on frontbuffer rendering detection.
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
More information about the Intel-gfx
mailing list