Revert "pipe-loader: simplify pipe_loader_drm_probe"
authorFrancisco Jerez <currojerez@riseup.net>
Wed, 29 Jul 2015 12:37:52 +0000 (15:37 +0300)
committerFrancisco Jerez <currojerez@riseup.net>
Wed, 29 Jul 2015 13:17:17 +0000 (16:17 +0300)
commite42d2948d3c58b86d3770d296b96fafcd1218858
tree0347169d36ce63c79de74625089c8c243e9eace6
parent5e645e68d6672cac2872fa509fb22bc2581f4b67
Revert "pipe-loader: simplify pipe_loader_drm_probe"

This reverts commit a27ec5dc460b91dc44675f48cddbbb2631ee824f.  It
breaks the intended behaviour of pipe_loader_probe() with ndev==0 as
relied upon by clover to query the number of devices available to the
pipe loader in the system.

Acked-by: Emil Velikov <emil.l.velikov@gmail.com>
src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c