pipe-loader: dlopen/dlsym the pipe-driver at probe time
authorEmil Velikov <emil.l.velikov@gmail.com>
Sat, 17 Oct 2015 20:51:45 +0000 (21:51 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Sat, 21 Nov 2015 12:52:19 +0000 (12:52 +0000)
commit3ca12ee976e44a1126775a8e801889d42dd06980
tree158acb1581a19d81f31eebf54fbe3c4ca8dceeba
parente465de5a51dbb1af50da1a44353867adc45d57c7
pipe-loader: dlopen/dlsym the pipe-driver at probe time

Rather than giving false hopes that things might work, just check at
probe time. This allows us to remove the duplication and consolidate
the code wrt the upcomming static pipe-loader.

Cc: Tom Stellard <thomas.stellard@amd.com>
Cc: Francisco Jerez <currojerez@riseup.net>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Acked-by: Rob Clark <robclark@freedesktop.org>
src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c