aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2010-09-23 19:15:50 -0400
committerBen Skeggs <bskeggs@redhat.com>2010-09-24 02:29:48 -0400
commit56edd964e883f2746bad7268cf557ab9b1d232cd (patch)
tree1eff55300289e4dfe91a36af930cabf1b67be960 /drivers/gpu/drm/nouveau
parent5c4abd09bdefb41d0c80055aa9d98433624ce1f0 (diff)
drm/nouveau: v3.0 pll limits tables have type<->register mapping too
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau')
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_bios.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_bios.c b/drivers/gpu/drm/nouveau/nouveau_bios.c
index 8fc2ba164ef..03032528c8d 100644
--- 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)
4727 else { 4727 else {
4728 u8 *plim = &bios->data[bios->pll_limit_tbl_ptr]; 4728 u8 *plim = &bios->data[bios->pll_limit_tbl_ptr];
4729 4729
4730 if (plim[0] >= 0x40) { 4730 if (plim[0] >= 0x30) {
4731 u8 *entry = plim + plim[1]; 4731 u8 *entry = plim + plim[1];
4732 for (i = 0; i < plim[3]; i++, entry += plim[2]) { 4732 for (i = 0; i < plim[3]; i++, entry += plim[2]) {
4733 if (entry[0] == type) 4733 if (entry[0] == type)