Commit 760e1477 authored by Ville Syrjälä's avatar Ville Syrjälä

drm/i915: Remove 10% cdclk guardband on BXT

We don't need any pixel clock vs. cdclk guardband since HSW. BXT still
tries to add one though. Get rid of it.
Signed-off-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1462995892-32416-8-git-send-email-ville.syrjala@linux.intel.comReviewed-by: default avatarImre Deak <imre.deak@intel.com>
parent 92891e45
...@@ -5901,16 +5901,15 @@ static int broxton_calc_cdclk(int max_pixclk) ...@@ -5901,16 +5901,15 @@ static int broxton_calc_cdclk(int max_pixclk)
{ {
/* /*
* FIXME: * FIXME:
* - remove the guardband, it's not needed on BXT
* - set 19.2MHz bypass frequency if there are no active pipes * - set 19.2MHz bypass frequency if there are no active pipes
*/ */
if (max_pixclk > 576000*9/10) if (max_pixclk > 576000)
return 624000; return 624000;
else if (max_pixclk > 384000*9/10) else if (max_pixclk > 384000)
return 576000; return 576000;
else if (max_pixclk > 288000*9/10) else if (max_pixclk > 288000)
return 384000; return 384000;
else if (max_pixclk > 144000*9/10) else if (max_pixclk > 144000)
return 288000; return 288000;
else else
return 144000; return 144000;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment