Thomas Hellstrom
a6fc955ff9
drm/vmwgfx: Detect old user-space drivers and set up legacy emulation v2
...
GB aware mesa userspace drivers are detected by the fact that they are
calling the vmw getparam ioctl querying DRM_VMW_PARAM_HW_CAPS to detect
whether the device is Guest-backed object capable. For other drivers,
lie about hardware version and send the 3D capabilities in a format they
expect.
v2:
Use DRM_VMW_PARAM_MAX_MOB_MEMORY to detect gb awareness,
Make sure we don't ovwerwrite bounce buffer or write past user-space buffer
indicated size.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
2014-02-05 08:41:44 +01:00
..
2014-01-18 14:04:58 +01:00
2013-10-31 14:48:38 +00:00
2014-01-09 09:08:23 +08:00
2013-11-19 15:53:02 -05:00
2013-10-29 12:53:07 +02:00
2013-12-08 01:04:17 +01:00
2013-11-13 17:40:34 +09:00
2014-01-12 16:22:42 +07:00
2013-12-04 11:11:49 -02:00
2013-11-14 08:51:29 +09:00
2014-01-16 22:06:30 +01:00
2014-01-20 10:21:54 +10:00
2013-12-30 11:32:24 +01:00
2013-11-14 17:19:20 -05:00
2014-01-06 22:16:14 +01:00
2013-12-30 11:55:20 +01:00
2014-01-01 14:06:23 +08:00
2013-11-07 19:24:20 +01:00
2014-01-20 10:21:54 +10:00
2013-11-30 12:26:36 +01:00
2013-11-26 15:17:23 +09:00
2013-12-15 16:32:32 +01:00
2013-12-29 13:35:04 -08:00
2013-12-17 11:47:40 -08:00
2014-02-05 08:41:44 +01:00
2013-12-13 13:21:28 -08:00
2014-01-14 09:47:52 -08:00
2013-12-17 18:09:16 +01:00
2013-11-20 13:25:04 -08:00
2014-01-10 03:06:06 +01:00
2013-12-17 20:37:14 +00:00
2014-01-03 20:38:56 -05:00
2014-01-20 10:21:54 +10:00
2013-12-06 16:44:25 +00:00
2013-12-20 11:28:30 -08:00
2014-01-06 15:50:51 -05:00
2014-01-10 14:48:07 -08:00
2013-11-07 12:13:05 +10:30
2013-11-27 11:35:47 +11:00
2014-01-15 15:07:36 +07:00
2013-12-10 05:40:57 -02:00
2013-11-15 09:32:21 +09:00
2013-11-13 12:09:26 +09:00
2014-01-11 06:23:57 +07:00
2013-12-08 18:47:25 -08:00
2013-11-26 15:51:16 -08:00
2014-01-06 12:20:45 +11:00
2014-01-16 15:36:26 -08:00
2013-11-26 11:15:12 -08:00
2013-12-30 12:09:47 -06:00
2013-11-15 14:05:15 -08:00
2014-01-20 10:21:54 +10:00
2013-11-12 16:52:17 +09:00
2013-12-10 12:53:30 -08:00
2014-01-18 14:04:58 +01:00
2013-11-26 13:03:36 +09:00
2013-12-05 02:01:55 +01:00
2013-12-01 14:25:03 -08:00
2013-12-22 01:27:51 +01:00
2013-11-13 12:09:35 +09:00
2013-11-01 11:17:57 +01:00
2013-12-16 11:30:39 +00:00
2013-10-29 11:28:11 +10:30
2013-12-12 18:19:26 -08:00
2013-12-18 17:35:30 +01:00
2013-12-19 14:50:17 -08:00
2013-12-16 09:51:58 -07:00
2014-01-20 10:21:54 +10:00
2013-12-19 14:49:54 -08:00
2013-11-19 15:50:47 -08:00
2014-01-20 10:21:54 +10:00
2013-12-02 11:50:37 -08:00
2014-01-20 10:21:54 +10:00
2013-11-07 11:42:15 +09:00
2013-11-22 10:52:03 -08:00
2014-01-29 09:37:47 +10:00
2013-12-05 13:12:39 +10:30
2013-11-15 09:32:21 +09:00
2013-12-10 08:48:15 +01:00
2013-12-20 09:34:54 -08:00
2013-11-14 13:41:48 +09:00
2013-11-14 13:41:48 +09:00