Created attachment 14869 [details] [review] 0001-Janitor-work-fixing-compile-warnings.patch Major problem was when including the proper header, XGIPcieMemFree did not compile anymore as the prototype had one extra parameter. This is just a "cosmetic" patch, that probably should be analyzed, and considered by the official maintainer, if any. It does not resolve the problem of the missing symbol drmFenceDestroy, so this driver probably also needs a special drm branch (or merge of a branch where it is defined) to be functional.
Created attachment 15855 [details] [review] 0001-Janitor-work-fixing-compile-warnings.patch Patch remade. Also while remaking patch, removed lines ending with spaces to avoid git-am/git-apply warnings, and changed tabs added in new lines to spaces, to match most of the driver code. Note that there is now the missing symbol XGIAdjustFrame, called by xgi_dga.c and declared in xgi_driver.h.
Code has changed signficantly since previous patches, so this patch only prevents a possible fatal error, if dga is enabled as missing function may be called.
Created attachment 17760 [details] [review] 0001-Call-pScrn-AdjustFrame-if-not-NULL.patch
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.