Commit 56edd964 authored by Ben Skeggs's avatar Ben Skeggs

drm/nouveau: v3.0 pll limits tables have type<->register mapping too

Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent 5c4abd09
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment