Displaying 2 results from an estimated 2 matches for "ram_restrict_group_count".
2014 Aug 30
3
[PATCH envytools] nvbios: Fix reading of ram_restrict_group_count.
...ios/mem.c b/nvbios/mem.c
index 81f2d1b..e4797e3 100644
--- a/nvbios/mem.c
+++ b/nvbios/mem.c
@@ -232,11 +232,11 @@ envy_bios_parse_bit_M (struct envy_bios *bios, struct envy_bios_bit_entry *bit)
if (bit->version == 1) {
if (bit->t_len >= 5) {
- bios_u8(bios, bit->offset+2, &ram_restrict_group_count);
+ bios_u8(bios, bit->t_offset+2, &ram_restrict_group_count);
}
} else if (bit->version == 2) {
if (bit->t_len >= 3) {
- bios_u8(bios, bit->offset, &ram_restrict_group_count);
+ bios_u8(bios, bit->t_offset, &ram_restrict_group_count);
}
}
--
1.9....
2009 Dec 15
2
[PATCH 1/2] drm/nouveau: Kill global state in NvShadowBIOS
---
drivers/gpu/drm/nouveau/nouveau_bios.c | 47 ++++++++++++++-----------------
1 files changed, 21 insertions(+), 26 deletions(-)
diff --git a/drivers/gpu/drm/nouveau/nouveau_bios.c b/drivers/gpu/drm/nouveau/nouveau_bios.c
index 5eec5ed..04ac564 100644
--- a/drivers/gpu/drm/nouveau/nouveau_bios.c
+++ b/drivers/gpu/drm/nouveau/nouveau_bios.c
@@ -181,43 +181,42 @@ struct methods {
const char