Re: [PATCH libdrm v6 1/1] amdgpu: move asic id table to a separate file

2017-06-07 Thread Michel Dänzer
On 07/06/17 08:12 PM, Emil Velikov wrote: > On 7 June 2017 at 09:40, Michel Dänzer wrote: >> On 06/06/17 10:43 PM, Emil Velikov wrote: >>> On 31 May 2017 at 21:22, Samuel Li wrote: >>> --- /dev/null +++ b/amdgpu/amdgpu_asic_id.c >>> +static int parse_one_line(const char *line, stru

Re: [PATCH libdrm v6 1/1] amdgpu: move asic id table to a separate file

2017-06-07 Thread Emil Velikov
On 7 June 2017 at 09:40, Michel Dänzer wrote: > On 06/06/17 10:43 PM, Emil Velikov wrote: >> On 31 May 2017 at 21:22, Samuel Li wrote: >> >>> --- /dev/null >>> +++ b/amdgpu/amdgpu_asic_id.c >> >>> +static int parse_one_line(const char *line, struct amdgpu_asic_id *id) >>> +{ >>> + char *buf

Re: [PATCH libdrm v6 1/1] amdgpu: move asic id table to a separate file

2017-06-07 Thread Michel Dänzer
On 06/06/17 10:43 PM, Emil Velikov wrote: > On 31 May 2017 at 21:22, Samuel Li wrote: > >> --- /dev/null >> +++ b/amdgpu/amdgpu_asic_id.c > >> +static int parse_one_line(const char *line, struct amdgpu_asic_id *id) >> +{ >> + char *buf, *saveptr; >> + char *s_did; >> + char *s_

Re: [PATCH libdrm v6 1/1] amdgpu: move asic id table to a separate file

2017-06-06 Thread Emil Velikov
Hi Samuel, With all the other discussion aside here is some code specific input which I'd hope you agree with. On 31 May 2017 at 21:22, Samuel Li wrote: > --- a/Makefile.am > +++ b/Makefile.am > @@ -45,6 +45,9 @@ AM_DISTCHECK_CONFIGURE_FLAGS = \ > > pkgconfigdir = @pkgconfigdir@ > pkgconfig_D

RE: [PATCH libdrm v6 1/1] amdgpu: move asic id table to a separate file

2017-06-05 Thread Li, Samuel
org; Yuan, Xiaojie Subject: Re: [PATCH libdrm v6 1/1] amdgpu: move asic id table to a separate file On 01/06/17 05:22 AM, Samuel Li wrote: > From: Xiaojie Yuan > > v2: fix an off by one error and leading white spaces > v3: use thread safe strtok_r(); initialize len before

Re: [PATCH libdrm v6 1/1] amdgpu: move asic id table to a separate file

2017-06-04 Thread Michel Dänzer
On 01/06/17 05:22 AM, Samuel Li wrote: > From: Xiaojie Yuan > > v2: fix an off by one error and leading white spaces > v3: use thread safe strtok_r(); initialize len before calling getline(); > change printf() to drmMsg(); add initial amdgpu.ids > v4: integrate some recent internal changes, i

Re: [PATCH libdrm v6 1/1] amdgpu: move asic id table to a separate file

2017-05-31 Thread Alex Deucher
On Wed, May 31, 2017 at 4:22 PM, Samuel Li wrote: > From: Xiaojie Yuan > > v2: fix an off by one error and leading white spaces > v3: use thread safe strtok_r(); initialize len before calling getline(); > change printf() to drmMsg(); add initial amdgpu.ids > v4: integrate some recent internal

[PATCH libdrm v6 1/1] amdgpu: move asic id table to a separate file

2017-05-31 Thread Samuel Li
From: Xiaojie Yuan v2: fix an off by one error and leading white spaces v3: use thread safe strtok_r(); initialize len before calling getline(); change printf() to drmMsg(); add initial amdgpu.ids v4: integrate some recent internal changes, including format changes v5: fix line number for emp