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:
80b83b6
)
drm/i915: Change CHV SKU400 GPU freq divider to 10
author
Ville Syrjälä
<
[email protected]
>
Mon, 10 Nov 2014 20:55:15 +0000
(22:55 +0200)
committer
Daniel Vetter
<
[email protected]
>
Mon, 17 Nov 2014 14:34:44 +0000
(15:34 +0100)
According to "Cherryview_GFXclocks_y14w36d1.xlsx" the GPU frequency
divider should be 10 in when the CZ clock is 400 MHz. Change the code
to agree so that we report the correct frequencies.
Signed-off-by: Ville Syrjälä <
[email protected]
>
Reviewed-by: Deepak S<
[email protected]
>
Signed-off-by: Daniel Vetter <
[email protected]
>
drivers/gpu/drm/i915/intel_pm.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/intel_pm.c
b/drivers/gpu/drm/i915/intel_pm.c
index 290af15af06770bc05491e2f21a2231fd4a6359d..929648f2373f2e9b29b771e1f908ed17d62dd1ae 100644
(file)
--- a/
drivers/gpu/drm/i915/intel_pm.c
+++ b/
drivers/gpu/drm/i915/intel_pm.c
@@
-7215,8
+7215,9
@@
static int vlv_gpu_freq_div(unsigned int czclk_freq)
return 12;
case 320:
case 333:
- case 400:
return 16;
+ case 400:
+ return 20;
default:
return -1;
}