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: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/1462995892-32416-8-git-send-email-ville.syrjala@linux.intel.com Reviewed-by: Imre Deak <imre.deak@intel.com>
This commit is contained in:
parent
92891e45c3
commit
760e147726
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user