<p dir="ltr">On 20 Nov 2014 01:31, "李金华" <<a href="mailto:goodqt@outlook.com">goodqt@outlook.com</a>> wrote:<br>
><br>
> Hello everyone,<br>
><br>
> The code is at /core/subdev/bios/init.c.<br>
> When the executable is 0,these functions that parse the VBIOS init table seems to do nothing except the parsing.<br>
Correct.  We do not handle every opcode, only the ones that have been observed so far.  The purpose is to be able to test whether we will be able to fully execute the table, to avoid failing in a critical path (such as resume from suspend) where we can't recover. </p>
<p dir="ltr">Ben. </p>
<p dir="ltr"> And in my opinion,init_exec_force does nothing,too!<br>
><br>
> Then I tried to test it on my computer,when the VBIOS parser tries to change a MMIO register or call a function of struct nouveau_devinit (such as devinit->pll_set,etc.),it will print a message into the kernel log. However,I cannot see any message about this in the kernel log!<br>
><br>
> Finally,I decided to just return when executable is zero. Then I found out the driver also works perfectly.<br>
><br>
> So I asked the question here,thanks for your help.<br>
> _______________________________________________<br>
> Nouveau mailing list<br>
> <a href="mailto:Nouveau@lists.freedesktop.org">Nouveau@lists.freedesktop.org</a><br>
> <a href="http://lists.freedesktop.org/mailman/listinfo/nouveau">http://lists.freedesktop.org/mailman/listinfo/nouveau</a><br>
</p>