wsi: Guard DRM-dependent function implementations with HAVE_LIBDRM
What does this MR do and why?
wsi: Guard DRM-dependent function implementations with HAVE_LIBDRM
Adress an implicit function declaration error by ensuring that DRM-dependent
functions are only compiled when HAVE_LIBDRM is set.
Fixes: 59813ae468d ("wsi: Add common infrastructure for explicit sync")
This fixes error: implicit declaration of function ‘wsi_drm_wait_for_explicit_sync_release’
while compiling Turnip on kgsl with some dubious downstream patches, but this fix should be relevant to upstream Mesa.
Cc @frog
Edited by Valentine Burley