From: Andy Ritger Subject: NV_PMC_BOOT_0 architecture field Date: Fri, 27 Sep 2013 11:03:35 -0700 Message-ID: <20130927180335.GB5577@parker.nvidia.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nouveau-bounces+gcfxn-nouveau=m.gmane.org-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Errors-To: nouveau-bounces+gcfxn-nouveau=m.gmane.org-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org To: skeggsb-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Cc: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org Hi Ben, 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. I hope that helps, - Andy