projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92891e4
)
drm/i915: Remove 10% cdclk guardband on BXT
author
Ville Syrjälä
<
[email protected]
>
Wed, 11 May 2016 19:44:46 +0000
(22:44 +0300)
committer
Ville Syrjälä
<
[email protected]
>
Fri, 13 May 2016 18:31:17 +0000
(21:31 +0300)
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ä <
[email protected]
>
Link:
http://patchwork.freedesktop.org/patch/msgid/
[email protected]
Reviewed-by: Imre Deak <
[email protected]
>
drivers/gpu/drm/i915/intel_display.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/intel_display.c
b/drivers/gpu/drm/i915/intel_display.c
index d837bc4a7e3925986cb3c618da514f4e9f273e25..fcfd68b2590bf20e04a9244a9228234ddc927cb7 100644
(file)
--- a/
drivers/gpu/drm/i915/intel_display.c
+++ b/
drivers/gpu/drm/i915/intel_display.c
@@
-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;