mirror of
https://github.com/torvalds/linux.git
synced 2024-11-08 05:01:48 +00:00
drm/nouveau: v3.0 pll limits tables have type<->register mapping too
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
parent
5c4abd09bd
commit
56edd964e8
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user