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:
6358298
)
drm/i915/skl: Don't try to store the wrong central frequency
author
Damien Lespiau
<
[email protected]
>
Thu, 7 May 2015 17:38:47 +0000
(18:38 +0100)
committer
Daniel Vetter
<
[email protected]
>
Fri, 29 May 2015 08:15:26 +0000
(10:15 +0200)
The orignal code started by storing the actual central frequency (in Hz,
using a uint64_t) in a uint32_t which codes for the register value. That
can't be right.
Signed-off-by: Damien Lespiau <
[email protected]
>
Reviewed-by: Paulo Zanoni <
[email protected]
>
Signed-off-by: Daniel Vetter <
[email protected]
>
drivers/gpu/drm/i915/intel_ddi.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/intel_ddi.c
b/drivers/gpu/drm/i915/intel_ddi.c
index 8bb5291ca4da3401ebf271011e96beb6da19d18d..832e4e141b3d65ee808848285756159cd165c1e5 100644
(file)
--- a/
drivers/gpu/drm/i915/intel_ddi.c
+++ b/
drivers/gpu/drm/i915/intel_ddi.c
@@
-1121,8
+1121,6
@@
static void skl_wrpll_params_populate(struct skl_wrpll_params *params,
{
uint64_t dco_freq;
- params->central_freq = central_freq;
-
switch (central_freq) {
case 9600000000ULL:
params->central_freq = 0;