All of lore.kernel.org
 help / color / mirror / Atom feed
* [patch] bios command length
@ 2007-07-18 12:14 Stephan Schmid
       [not found] ` <469E0441.3030109-S0/GAf8tV78@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Stephan Schmid @ 2007-07-18 12:14 UTC (permalink / raw)
  To: Nouveau

[-- Attachment #1: Type: text/plain, Size: 223 bytes --]

Hello,
this ddx patch adds command length, offset and mult for the bios commands with ids
0x8f to 0x92.
It avoids the 10000x"Init table command not found:" error messages for those bios commands.

Greetings
Stephan Schmid


[-- Attachment #2: bios_only.diff --]
[-- Type: text/plain, Size: 1597 bytes --]

diff --git a/src/nv_bios.c b/src/nv_bios.c
index 286e85f..aca34c8 100644
--- a/src/nv_bios.c
+++ b/src/nv_bios.c
@@ -1292,10 +1292,10 @@ static init_tbl_entry_t itbl_entry[] = {
 	{ "INIT_INDEX_IO"                     , 0x78, 6       , 0       , 0       , init_index_io                   },
 /*	{ "INIT_PLL2"                         , 0x79, x       , x       , x       , init_pll2                       }, */
 	{ "INIT_ZM_REG"                       , 0x7A, 9       , 0       , 0       , init_zm_reg                     },
-/*	{ "INIT_RAM_RESTRICT_ZM_REG_GROUP"    , 0x8F, x       , x       , x       , init_ram_restrict_zm_reg_group  }, */
-/*	{ "INIT_COPY_ZM_REG"                  , 0x90, x       , x       , x       , init_copy_zm_reg                }, */
-/*	{ "INIT_ZM_REG_GROUP_ADDRESS_LATCHED" , 0x91, x       , x       , x       , init_zm_reg_group_addr_latched  }, */
-/*	{ "INIT_RESERVED"                     , 0x92, x       , x       , x       , init_reserved                   }, */
+	{ "INIT_RAM_RESTRICT_ZM_REG_GROUP"    , 0x8F, 7       , 6       , 32       , /*init_ram_restrict_zm_reg_group*/ NULL  }, 
+	{ "INIT_COPY_ZM_REG"                  , 0x90, 3       , 2       , 3       , /*init_copy_zm_reg*/                },
+	{ "INIT_ZM_REG_GROUP_ADDRESS_LATCHED" , 0x91, 6       , 5       , 4       , /*init_zm_reg_group_addr_latched*/ NULL  },
+	{ "INIT_RESERVED"                     , 0x92, 1       , 0       , 0       , /*init_reserved*/         NULL          }, 
 	{ 0                                   , 0   , 0       , 0       , 0       , 0                               }
 };
 

[-- Attachment #3: Type: text/plain, Size: 181 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-07-19  0:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-18 12:14 [patch] bios command length Stephan Schmid
     [not found] ` <469E0441.3030109-S0/GAf8tV78@public.gmane.org>
2007-07-19  0:40   ` Stephane Marchesin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.