Created attachment 14869 [details] [review]
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
Created attachment 15855 [details] [review]
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
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]