On 5 July 2017 at 11:44, Chih-Wei Huang <cwhuang at android-x86.org> wrote: > 2017-07-05 17:35 GMT+08:00 Emil Velikov <emil.l.velikov at gmail.com>: >> On 4 July 2017 at 07:40, Chih-Wei Huang <cwhuang at android-x86.org> wrote: >>> >>> Unfortunately this patch breaks Android build >>> since the two macros are not defined. >>> >>> Anyone is working on a fix? >>> If not, I'll try to provide one. >>> >> Please send a patch. I doubt many of the AMD devs have an Android setup. >> Do ensure that the amdgpu.ids file is installed and accessible. > > Yep. The first problem to prepare the patch is, > where to install amdgpu.ids on Android? > Is /system/etc/amdgpu.ids OK? > Personally I'd stick it alongside the pci.ids/usb.ids, but it's up-to you really. The library does not care about the filename/path - it's passed as a define. -Emil