<div dir="ltr">Hi all,<br><br>Sorry for the delay. I was preparing for my final exam in this week and the<br>exam will take a few days.<br><br>Accomplishments:<br>- Sent out the patch set of general DRM ioctl decoding. I assume there are<br>still some issues so please give your comments/feedbacks. BTW tests are<br>included.<br>- As for the driver-specific ioctls, I finished those compilation warnings<br>and errors for i915 DRM ioctl on various versions of kernels/OSes (mostly<br>come from travis-ci). But i915 ioctl hasn't been fully tested.<br>- Investigated i810. It seems i810 is a legacy driver and it was removed<br>from libdrm for a while, which will cause the problem below:<br><br>#ifdef HAVE_DRM_H<br># include <drm.h><br># include <i810_drm.h><br>#else<br># include <drm/drm.h><br># include <drm/i810_drm.h><br>#endif<br><br>When libdrm is present and it's not an old version, HAVE_DRM_H is defined<br>so both headers (drm.h and drm_i810.h) will be included. It will cause an<br>error because there is no drm_i810.h. It's easy to workaroud this. Just use<br>#ifdef ... #else ... #endif around drm.h and drm_i810.h respectively:<br><br>#ifdef HAVE_DRM_H<br># include <drm.h><br>#else<br># include <drm/drm.h><br>#endif<br><br>#ifdef HAVE_I810_DRM_H<br># include <i810_drm.h><br>#else<br># include <drm/i810_drm.h><br>#endif<br><br>But I am not sure if this will cause any problems because we will probably<br>use drm.h from libdrm but drm/i810_drm.h which is not from libdrm at the<br>same time. One other thing is that I think other drivers will meet this<br>situation some day (I mean becoming legacy and being removed from libdrm).<br>Any thoughts?<br><br>TODO:<br><div></div><div>- Finish i915 part and its tests at first.<br>- Maybe revise the patches of general decoding according to others' feedbacks.<br>- Investigate other drivers.<br><br>Thanks,<br>Zhibin Li<br></div></div>