[Nouveau] NV_PMC_BOOT_0 architecture field

Ben Skeggs skeggsb at gmail.com
Fri Sep 27 14:07:58 PDT 2013


On Sat, Sep 28, 2013 at 4:03 AM, Andy Ritger <aritger at nvidia.com> wrote:
> Hi Ben,
Hey Andy,

>
> At XDC you asked about the architecture field in NV_PMC_BOOT_0, and how
> to correctly determine the GPU architecture.
>
> It looks like Nouveau is getting the architecture from bits 20-27
> in NV_PMC_BOOT_0 (though masking off bits 20-23).  For >= NV10, the
> architecture field in NV_PMC_BOOT_0 is bits 24-28.  E.g., the GK2xx
> architecture has architecture value 0x10, while GK11x has value 0xF and
> GK10x has value 0xE.
That helps a great deal.  Knowing the bitfield was 28:24 right back to
when you guys switched from the NV04 layout of NV_PMC_BOOT_0 means
it'll be safe for us to trivially fix.

Thanks a lot!
Ben.

>
> I hope that helps,
> - Andy
>
>


More information about the Nouveau mailing list