Re: [Mesa-dev] [PATCH 8/8] nouveau: let .get_name() append LLVM if built with LLVM

2017-01-27 Thread Ilia Mirkin
On Fri, Jan 27, 2017 at 12:16 PM, Emil Velikov wrote: > On 26 January 2017 at 19:46, Ilia Mirkin wrote: >> Yeah, I'd much prefer this to be >> >> if (nouveau_screen(pscreen)->class_3d < NV50_3D_CLASS) >> llvm = " LLVM"; >> >> or something along those lines. [Using dev->chipset will be annoying

Re: [Mesa-dev] [PATCH 8/8] nouveau: let .get_name() append LLVM if built with LLVM

2017-01-27 Thread Emil Velikov
On 26 January 2017 at 19:46, Ilia Mirkin wrote: > Yeah, I'd much prefer this to be > > if (nouveau_screen(pscreen)->class_3d < NV50_3D_CLASS) > llvm = " LLVM"; > > or something along those lines. [Using dev->chipset will be annoying > since nv50 = 0x50, and nv67 (nv4x) = 0x67.] > I was about to

Re: [Mesa-dev] [PATCH 8/8] nouveau: let .get_name() append LLVM if built with LLVM

2017-01-26 Thread Ilia Mirkin
Yeah, I'd much prefer this to be if (nouveau_screen(pscreen)->class_3d < NV50_3D_CLASS) llvm = " LLVM"; or something along those lines. [Using dev->chipset will be annoying since nv50 = 0x50, and nv67 (nv4x) = 0x67.] On Thu, Jan 26, 2017 at 1:27 PM, Emil Velikov wrote: > From: Emil Velikov >

[Mesa-dev] [PATCH 8/8] nouveau: let .get_name() append LLVM if built with LLVM

2017-01-26 Thread Emil Velikov
From: Emil Velikov Analogous to previous two commits. Afaict only nv30 uses draw, so if people prefer we can restrict this print only to those devices. Signed-off-by: Emil Velikov --- Unrelated: Wasn't there a kernel/libdrm helper which can give us the complete device name ? --- src/gallium/dr