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

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                               }
 };
 
_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

Reply via email to