提交 760e1477 编写于 作者: V 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: NVille 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: NImre Deak <imre.deak@intel.com>
上级 92891e45
......@@ -5901,16 +5901,15 @@ static int broxton_calc_cdclk(int max_pixclk)
{
/*
* FIXME:
* - remove the guardband, it's not needed on BXT
* - set 19.2MHz bypass frequency if there are no active pipes
*/
if (max_pixclk > 576000*9/10)
if (max_pixclk > 576000)
return 624000;
else if (max_pixclk > 384000*9/10)
else if (max_pixclk > 384000)
return 576000;
else if (max_pixclk > 288000*9/10)
else if (max_pixclk > 288000)
return 384000;
else if (max_pixclk > 144000*9/10)
else if (max_pixclk > 144000)
return 288000;
else
return 144000;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册