si_mc_load_microcode function and blackout

Alex Deucher alexdeucher at gmail.com
Mon Jul 16 05:49:38 PDT 2012


On Sun, Jul 15, 2012 at 5:11 PM, Sylvain BERTRAND <sylware at legeek.net> wrote:
> Blackout mc microcode thingy useless?
>
> ...
> if (running == 0) {
>         if (running) {
>                 ...blackout thingy...
>         }
> ...

When I wrote the code, the code in the running == 0 block was
originally a separate function, but since it was only called when
loading the ucode, I ended up just integrating it into the function,
but I left the running checks as a reminder that you need to set those
regs if you update the ucode while the vram controller ucode is
already running.

Alex

> _______________________________________________
> dri-devel mailing list
> dri-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dri-devel


More information about the dri-devel mailing list