This patch won't be sufficient since you'll error out at link time, when building w/o radeonsi. There are three possible routes [1]. Let me know which one you prefer :-) -Emil [1] https://lists.freedesktop.org/archives/mesa-dev/2017-May/156429.html