[Intel-gfx] [PATCH 1/2] drm/i915: Don't assume 60Hz when accounting for DSI pixel overlap

Chris Wilson chris at chris-wilson.co.uk
Wed Dec 14 16:22:22 UTC 2016


On Tue, Dec 13, 2016 at 11:09:17PM +0200, ville.syrjala at linux.intel.com wrote:
> From: Ville Syrjälä <ville.syrjala at linux.intel.com>
> 
> Compute the increase in the DSI clock due to pixel overlap mode in
> a way that's refresh rate agnostic. So far the computation assumed
> a 60Hz refresh rate. And let's switch to round to closest here as
> well since we would like to be as close to the target as possible.
> 
> Also toss in a decent comment explaining what we're actually doing
> here.
> 
> Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>

Not totally why being under the target is acceptable? But the
conversion from vtotal*60 to clock/htotal looks sound.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Intel-gfx mailing list