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

2017-07-19 Thread Chih-Wei Huang
Sorry for reply late. 2017-07-05 19:05 GMT+08:00 Emil Velikov <emil.l.veli...@gmail.com>: > On 5 July 2017 at 11:44, Chih-Wei Huang <cwhu...@android-x86.org> wrote: >> >> Yep. The first problem to prepare the patch is, >> where to install amdgpu.ids on Android

[PATCH 2/2] android: amdgpu: fix build break

2017-07-19 Thread Chih-Wei Huang
Define two macros to avoid building errors. Fixes: 7e6bf88cac (amdgpu: move asic id table to a separate file) Signed-off-by: Chih-Wei Huang <cwhu...@linux.org.tw> --- amdgpu/Android.mk | 6 ++ 1 file changed, 6 insertions(+) diff --git a/amdgpu/Android.mk b/amdgpu/Android.mk index b

[PATCH 1/2] android: add rules to build amdgpu.ids

2017-07-19 Thread Chih-Wei Huang
Signed-off-by: Chih-Wei Huang <cwhu...@linux.org.tw> --- data/Android.mk | 9 + 1 file changed, 9 insertions(+) create mode 100644 data/Android.mk diff --git a/data/Android.mk b/data/Android.mk new file mode 100644 index 000..3c1fd7c --- /dev/null +++ b/data/Android.mk @@ -0,

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

2017-07-04 Thread Chih-Wei Huang
2017-06-12 17:50 GMT+08:00 Michel Dänzer : > 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 >

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

2017-07-05 Thread Chih-Wei Huang
2017-07-05 17:35 GMT+08:00 Emil Velikov <emil.l.veli...@gmail.com>: > On 4 July 2017 at 07:40, Chih-Wei Huang <cwhu...@android-x86.org> wrote: >> >> Unfortunately this patch breaks Android build >> since the two macros are not defined. >> >> An