Re: [Mesa-dev] [PATCH shaderdb 2/3] run: new '--pci-id' option for overriding pci-id

2018-03-14 Thread Dongwon Kim
I see. Because user will be putting PCI_ID instead if a specific device variant is required. I shouldn't have been confused in the first place :-). Thanks, On Wed, Mar 14, 2018 at 04:03:05PM -0700, Kenneth Graunke wrote: > On Wednesday, March 14, 2018 3:43:18 PM PDT Dongwon Kim wrote: > > Yeah,

Re: [Mesa-dev] [PATCH shaderdb 2/3] run: new '--pci-id' option for overriding pci-id

2018-03-14 Thread Kenneth Graunke
On Wednesday, March 14, 2018 3:43:18 PM PDT Dongwon Kim wrote: > Yeah, thought about that (checking name then -> try to parse it as PCI-ID) > but didn't implement it because it won't work when there are multiple > different PCI-ID bound to same 'name' (e.g. want to use a specific PCI-ID > hsw).

Re: [Mesa-dev] [PATCH shaderdb 2/3] run: new '--pci-id' option for overriding pci-id

2018-03-14 Thread Dongwon Kim
Yeah, I am using "intel_run" script that lets "run" use intel_stub layer instead. Pretty useful.. On Wed, Mar 14, 2018 at 02:54:08PM -0700, Kenneth Graunke wrote: > On Monday, February 12, 2018 5:26:15 PM PDT Dongwon Kim wrote: > > Add a new option, '--pciid' to override a pci id of the target

Re: [Mesa-dev] [PATCH shaderdb 2/3] run: new '--pci-id' option for overriding pci-id

2018-03-14 Thread Dongwon Kim
Yeah, thought about that (checking name then -> try to parse it as PCI-ID) but didn't implement it because it won't work when there are multiple different PCI-ID bound to same 'name' (e.g. want to use a specific PCI-ID hsw). But wait a minite I think the opposite way (check if it's PCI-ID

Re: [Mesa-dev] [PATCH shaderdb 2/3] run: new '--pci-id' option for overriding pci-id

2018-03-14 Thread Kenneth Graunke
On Monday, February 12, 2018 5:26:15 PM PDT Dongwon Kim wrote: > Add a new option, '--pciid' to override a pci id of the target arch > to support cross-architecture shader compilation. Not like "-p" option, > it is for accepting any GFX devices supported by the driver. > > Setting both "-p" and

Re: [Mesa-dev] [PATCH shaderdb 2/3] run: new '--pci-id' option for overriding pci-id

2018-03-14 Thread Kenneth Graunke
On Monday, February 12, 2018 5:26:15 PM PDT Dongwon Kim wrote: > Add a new option, '--pciid' to override a pci id of the target arch > to support cross-architecture shader compilation. Not like "-p" option, > it is for accepting any GFX devices supported by the driver. > > Setting both "-p" and

[Mesa-dev] [PATCH shaderdb 2/3] run: new '--pci-id' option for overriding pci-id

2018-02-12 Thread Dongwon Kim
Add a new option, '--pciid' to override a pci id of the target arch to support cross-architecture shader compilation. Not like "-p" option, it is for accepting any GFX devices supported by the driver. Setting both "-p" and "--pciid" is blocked to avoid conflict. Signed-off-by: Dongwon Kim