Browse Source

drm/nouveau: Kill global state in BIOS script interpreter

Signed-off-by: Marcin Kościelnicki <koriakin@0x04.net>
Signed-off-by: Maarten Maathuis <madman2003@gmail.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Marcin Kościelnicki 15 years ago
parent
commit
37383650e4
2 changed files with 147 additions and 138 deletions
  1. 146 138
      drivers/gpu/drm/nouveau/nouveau_bios.c
  2. 1 0
      drivers/gpu/drm/nouveau/nouveau_bios.h

File diff suppressed because it is too large
+ 146 - 138
drivers/gpu/drm/nouveau/nouveau_bios.c


+ 1 - 0
drivers/gpu/drm/nouveau/nouveau_bios.h

@@ -227,6 +227,7 @@ struct nvbios {
 
 
 	uint16_t pll_limit_tbl_ptr;
 	uint16_t pll_limit_tbl_ptr;
 	uint16_t ram_restrict_tbl_ptr;
 	uint16_t ram_restrict_tbl_ptr;
+	uint8_t ram_restrict_group_count;
 
 
 	uint16_t some_script_ptr; /* BIT I + 14 */
 	uint16_t some_script_ptr; /* BIT I + 14 */
 	uint16_t init96_tbl_ptr; /* BIT I + 16 */
 	uint16_t init96_tbl_ptr; /* BIT I + 16 */

Some files were not shown because too many files changed in this diff