loader: remove final sysfs codepath in loader_get_device_name_for_fd()
authorEmil Velikov <emil.velikov@collabora.com>
Fri, 9 Sep 2016 14:20:23 +0000 (15:20 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Tue, 18 Oct 2016 16:06:26 +0000 (17:06 +0100)
commitf9f7e44c94f7eee4778768adf7afffba6c0581e7
tree636d768a02bf61afac29efdc3c55d68b7665b4bb
parent4f1c33fd9d0585b5835c1d1c8a013391b65b37d7
loader: remove final sysfs codepath in loader_get_device_name_for_fd()

Effectively everyone with actual hardware and/or requesting the
"device_name" requires a working libdrm. Thus they could/should already
be using the (now only) codepath.

Apart from the code simplification, we can slim down our configure.ac
even further. But that will be done in separate patch(es).

Cc: Gary Wong <gtw@gnu.org>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Axel Davy <axel.davy@ens.fr>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
configure.ac
src/loader/loader.c