loader: use drmGetDevice[s]2 API
loader: use drmGetDevice[s]2 API

By this allows us to fetch the device list/info w/o the revision field.
At the moment retrieving the latter wakes up the device.

Note: kernel patch to resolve that should be in 4.10.

Signed-off-by: Emil Velikov <f20878473f414da183da19ee25c8722cc1d711e4@collabora.com>
Reviewed-by: Michel Dänzer <242b79f0804cf52679d58f27ed754158c1323c75@amd.com>
Reviewed-by: Eric Engestrom <de0b63cf2dfb1fae8ed3c3b4244856a05677d4f0@imgtec.com>
Tested-by: Mike Lothian <a17fed27eaa842282862ff7c1b9c8395a26ac320@fireburn.co.uk>

metora/MesaGLSLCompiler,metora/MesaGLSLCompiler,metora/MesaGLSLCompiler