Micah Fedke e2241805a4 lib: adding drm_open_driver() interface
The drm_open_driver*() functions replace the drm_open_any*() functions and
provide the same utility, but in a way that is platform agnostic, not
intel-specific.  This opens the path for adopting intel-gpu-tools to non-intel
platforms.

This commit renames the calls and adds the chipset parameter which can be used
to restrict the opening to a specific hardware family.  For example,
drm_open_driver(DRIVER_INTEL) will only return a valid fd if an intel GPU is
found on the system, along with performing intel-specific initialization stuff
like gem_quiescent_gpu(), et al.  If OPEN_ANY_GPU is specified, the first
available drm device of any type will be opened.

Other hardware type flags may be added in the future.

The drm_open_any*() calls are retained as aliases of
drm_open_driver*(OPEN_ANY_GPU) but will be removed in a subsequent patch.

Signed-off-by: Micah Fedke <micah.fedke@collabora.co.uk>
Signed-off-by: Thomas Wood <thomas.wood@intel.com>
2015-09-11 14:39:43 +01:00
..
2014-07-23 16:43:05 +01:00
2014-12-04 10:17:16 +08:00
2015-07-20 18:13:37 +01:00
2013-12-05 15:32:42 -08:00
2014-02-20 13:42:25 +00:00
2011-03-29 22:52:50 +02:00
2015-09-08 16:15:16 +01:00
2015-09-08 16:15:16 +01:00
2015-08-05 17:30:58 -03:00
2015-09-08 16:15:16 +01:00
2015-09-08 16:15:16 +01:00
2015-04-14 17:44:34 +01:00
2015-09-08 16:15:16 +01:00
2015-02-25 16:59:22 +00:00
2015-09-08 16:15:16 +01:00
2015-04-16 16:49:46 +03:00
2015-09-08 16:15:16 +01:00
2015-09-08 16:15:16 +01:00
2015-08-21 14:13:16 +01:00
2015-07-02 08:17:17 +01:00
2015-09-08 16:15:16 +01:00
2015-08-21 14:13:16 +01:00
2015-03-25 17:52:11 +00:00
2015-03-25 17:52:11 +00:00