Skip to contentSkip to conversation

bios command length

PATCH In review Stephan Schmid 2 participants 2 messages Jul 18, 2007 – Jul 19, 2007 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bios command length

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

src/nv_bios.c +4 -4
index 286e85f..aca34c8 100644
@@ -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                               }
 };
 

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#2 lore raw
In reply to a message not in the archive
Quoted 4 lines · Stephan Schmid

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.

These commands are buggy,so this is why they're disabled. Enabling them will only cause more issues, unless you volunteer to fix them, that is :)

Stephane