Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 250685
b: refs/heads/master
c: 047d2df
h: refs/heads/master
i:
  250683: cab1c4d
v: v3
  • Loading branch information
Ben Skeggs committed May 16, 2011
1 parent 6d9d0cf commit 48e9fd5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 40f6193b8fe3c29f49c675f22c643e9ea9e8950f
refs/heads/master: 047d2df54cb866f13014cb566eac61449bf89a29
1 change: 1 addition & 0 deletions trunk/drivers/gpu/drm/nouveau/nouveau_drv.h
Original file line number Diff line number Diff line change
Expand Up @@ -433,6 +433,7 @@ struct nouveau_pm_level {
u32 memory;
u32 shader;
u32 unk05;
u32 unk0a;

u8 voltage;
u8 fanspeed;
Expand Down
2 changes: 2 additions & 0 deletions trunk/drivers/gpu/drm/nouveau/nouveau_perf.c
Original file line number Diff line number Diff line change
Expand Up @@ -243,12 +243,14 @@ nouveau_perf_init(struct drm_device *dev)
} else {
perflvl->shader = ROM16(subent(3)) & 0xfff;
perflvl->core = perflvl->shader / 2;
perflvl->unk0a = ROM16(subent(4)) & 0xfff;
perflvl->memory = ROM16(subent(5)) & 0xfff;
}

perflvl->core *= 1000;
perflvl->shader *= 1000;
perflvl->memory *= 1000;
perflvl->unk0a *= 1000;
break;
}

Expand Down

0 comments on commit 48e9fd5

Please sign in to comment.