On Fri, Sep 12, 2014 at 11:13:03PM +0530, Vandana Kannan wrote: > As part of implementing DRRS based on frontbuffer tracking, this patch series > includes some modifications related to the data for DRRS, code to enable/ > disable DRRS during init or uninit, calls to switch between high and low > refresh rates based on calls to mark_fb_busy. > Instead of having a module param to specify delay before scheduling DRRS > work, (as there was in the old patch series), a delay of 100ms is used. > Additional patches including changes specific to bdw and vlv have been > included. Sorry for the delay in answering, been a bit busy. Looks good overall, just spotted a few issue with the integration into the frontbuffer tracking. That's probably just because the documentation we have is awful, so I've improved that and replied with what I think we need. It unfortunately means that you need to rebase the integration patch since the frontbuffer functions moved. But since that needs to be redone anyway I hope that's not too much fuzz. And if you think the documentation is still lacking please raise this - we need to get much better at documenting i915 internals and that will only work if people critize and improve what's there. > TODO:- > Need more analysis into clone mode scenario Hm, I don't really understand what the issue is here? Currently i915 doesn't support hw cloning for (e)DP ports, so you always have a 1:1 link between eDP panel and pipe. And if there's more than one pipe scanning out the same frontbuffer gem object then the frontbuffer tracking keeps them separate since it tracks frontbuffer attachments per-pipe. So can you please explain what you thing might be an issue? Very well possible that I'm just blind ;-) Thanks, Daniel > > Vandana Kannan (6): > drm/i915: Modifying structures related to DRRS > drm/i915: Initialize DRRS delayed work > drm/i915: Enable/disable DRRS > drm/i915: DRRS calls based on frontbuffer > drm/i915/bdw: Add support for DRRS to switch RR > drm/i915: Support for RR switching on VLV > > drivers/gpu/drm/i915/i915_drv.h | 32 ++++-- > drivers/gpu/drm/i915/i915_reg.h | 1 + > drivers/gpu/drm/i915/intel_ddi.c | 2 + > drivers/gpu/drm/i915/intel_display.c | 14 +-- > drivers/gpu/drm/i915/intel_dp.c | 201 +++++++++++++++++++++++++++++------ > drivers/gpu/drm/i915/intel_drv.h | 27 ++--- > 6 files changed, 211 insertions(+), 66 deletions(-) > > -- > 2.0.1 > > _______________________________________________ > Intel-gfx mailing list > Intel-gfx@xxxxxxxxxxxxxxxxxxxxx > http://lists.freedesktop.org/mailman/listinfo/intel-gfx -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/intel-gfx