Skip to content

Commit

Permalink
drm/nouveau: v3.0 pll limits tables have type<->register mapping too
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
  • Loading branch information
Ben Skeggs committed Sep 24, 2010
1 parent 5c4abd0 commit 56edd96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/nouveau/nouveau_bios.c
Original file line number Diff line number Diff line change
Expand Up @@ -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] >= 0x40) {
if (plim[0] >= 0x30) {
u8 *entry = plim + plim[1];
for (i = 0; i < plim[3]; i++, entry += plim[2]) {
if (entry[0] == type)
Expand Down

0 comments on commit 56edd96

Please sign in to comment.