projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c4abd0
)
drm/nouveau: v3.0 pll limits tables have type<->register mapping too
author
Ben Skeggs
<bskeggs@redhat.com>
Thu, 23 Sep 2010 23:15:50 +0000
(09:15 +1000)
committer
Ben Skeggs
<bskeggs@redhat.com>
Fri, 24 Sep 2010 06:29:48 +0000
(16:29 +1000)
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_bios.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/nouveau/nouveau_bios.c
b/drivers/gpu/drm/nouveau/nouveau_bios.c
index
8fc2ba1
..
0303252
100644
(file)
--- a/
drivers/gpu/drm/nouveau/nouveau_bios.c
+++ b/
drivers/gpu/drm/nouveau/nouveau_bios.c
@@
-4727,7
+4727,7
@@
get_pll_register(struct drm_device *dev, enum pll_types type)
else {
u8 *plim = &bios->data[bios->pll_limit_tbl_ptr];
- if (plim[0] >= 0x
4
0) {
+ if (plim[0] >= 0x
3
0) {
u8 *entry = plim + plim[1];
for (i = 0; i < plim[3]; i++, entry += plim[2]) {
if (entry[0] == type)