Chris Wilson eaa7e6183c lib: Cache DRM device id to reduce number of ioctls
The DRM device id for the igfx is fixed, since there can only be one in
the system. So once we query it for the first time we can safely report
that value on every subsequent request, cutting out a lot of noisy
ioctls from inside tests.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2015-02-18 16:04:12 +00:00
..
2014-07-23 16:43:05 +01:00
2014-12-04 10:17:16 +08: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-02-13 09:35:36 +01:00
2015-02-13 09:35:36 +01:00
2014-09-06 12:11:08 +01:00
2015-02-13 09:35:36 +01:00
2015-02-13 09:35:36 +01:00
2014-12-04 16:07:55 +00:00
2015-02-13 09:35:36 +01:00
2014-12-04 10:17:16 +08:00
2014-12-04 10:17:16 +08:00
2014-09-30 12:21:02 +01:00
2014-12-04 10:17:16 +08:00
2014-12-04 10:17:16 +08:00