summaryrefslogtreecommitdiffstats
path: root/src/hgl
diff options
context:
space:
mode:
authorAaron Watry <[email protected]>2014-08-02 16:10:34 -0500
committerAaron Watry <[email protected]>2014-08-03 12:13:47 -0500
commit47e5039680787d1d7072caffdb767a54ecd63218 (patch)
tree0020ca5924ad0cd97f40bef141109028bfc9d3fd /src/hgl
parent7b3d0a9a1eb11bf70390ad116ed662a47f06183e (diff)
st/dri: Fix driver loading if swrast isn't built
If building hardware drivers only, then kms_swrast_create_screen won't be defined in inline_drm_helper.h and hardware drivers will fail to dlopen as a result. Copy the #if guards from inline_drm_helper.h to dri_kms_init_screen to make the definition/use of the function match. Fixes radeonsi_dri.so dlopen with the following configure: ./configure --with-dri-drivers= --with-dri-driverdir=/usr/local/lib/dri/ \ --enable-gbm --enable-gallium-gbm --enable-debug --enable-opencl \ --enable-opencl-icd --with-gallium-drivers=radeonsi \ --with-egl-platforms=drm --enable-glx-tls --enable-texture-float \ --enable-omx Signed-off-by: Aaron Watry <[email protected]> Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/hgl')
0 files changed, 0 insertions, 0 deletions