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:
876a8cd
)
drm/i915: Set i9xx lvds clock limits according to specifications
author
Patrik Jakobsson
<
[email protected]
>
Wed, 13 Feb 2013 21:20:21 +0000
(22:20 +0100)
committer
Daniel Vetter
<
[email protected]
>
Tue, 19 Feb 2013 23:21:46 +0000
(
00:21
+0100)
The Intel PRM says the M1 and M2 divisors must be in the range of 10-20 and 5-9.
Since we do all calculations based on them being register values (which are
subtracted by 2) we need to specify them accordingly.
Signed-off-by: Patrik Jakobsson <
[email protected]
>
Reviewed-by: Chris Wilson <
[email protected]
>
Signed-off-by: Daniel Vetter <
[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 593c66801d566e22906c78a70867afb0cb2de9e2..aa31b96e5301e6db40f586cfb33529f1f1f1b623 100644
(file)
--- a/
drivers/gpu/drm/i915/intel_display.c
+++ b/
drivers/gpu/drm/i915/intel_display.c
@@
-168,8
+168,8
@@
static const intel_limit_t intel_limits_i9xx_lvds = {
.vco = { .min = 1400000, .max = 2800000 },
.n = { .min = 1, .max = 6 },
.m = { .min = 70, .max = 120 },
- .m1 = { .min =
10, .max = 22
},
- .m2 = { .min =
5, .max = 9
},
+ .m1 = { .min =
8, .max = 18
},
+ .m2 = { .min =
3, .max = 7
},
.p = { .min = 7, .max = 98 },
.p1 = { .min = 1, .max = 8 },
.p2 = { .dot_limit = 112000,