Maarten Lankhorst
5e33840511
drm/ttm: convert to the reservation api
...
Now that the code is compatible in semantics, flip the switch.
Use ww_mutex instead of the homegrown implementation.
ww_mutex uses -EDEADLK to signal that the caller has to back off,
and -EALREADY to indicate this buffer is already held by the caller.
ttm used -EAGAIN and -EDEADLK for those, respectively. So some changes
were needed to handle this correctly.
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
Reviewed-by: Jerome Glisse <jglisse@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2013-06-28 12:04:01 +10:00
..
2013-06-05 14:35:08 +10:00
2013-04-26 15:37:51 +10:00
2013-06-28 11:56:22 +10:00
2013-05-02 16:23:13 +10:00
2013-06-28 11:55:48 +10:00
2012-10-03 13:12:56 +10:00
2012-11-29 09:57:59 +10:00
2013-02-20 16:05:16 +10:00
2013-03-04 11:46:12 +10:00
2012-10-03 13:12:47 +10:00
2013-04-26 15:37:45 +10:00
2013-04-26 15:37:51 +10:00
2013-04-26 15:37:51 +10:00
2013-03-11 08:43:09 +10:00
2013-02-08 13:39:09 +10:00
2013-02-20 16:00:53 +10:00
2012-10-03 13:13:02 +10:00
2013-04-26 15:37:51 +10:00
2013-02-20 16:00:50 +10:00
2012-11-29 09:57:58 +10:00
2013-02-20 20:46:34 +10:00
2013-02-20 20:46:34 +10:00
2013-06-28 12:03:58 +10:00
2013-02-20 16:00:46 +10:00
2012-10-03 13:12:56 +10:00
2013-02-20 16:00:48 +10:00
2013-02-20 16:01:02 +10:00
2013-06-28 11:55:34 +10:00
2013-04-26 15:37:43 +10:00
2013-04-26 15:37:51 +10:00
2013-06-28 11:56:00 +10:00
2012-10-03 23:29:23 -07:00
2013-02-20 16:00:53 +10:00
2013-02-20 16:00:53 +10:00
2013-06-28 12:04:01 +10:00
2013-06-28 11:55:34 +10:00
2011-12-21 19:01:44 +10:00
2012-10-03 23:29:23 -07:00
2012-10-03 13:12:58 +10:00
2012-10-03 13:13:07 +10:00
2012-10-03 23:29:23 -07:00
2013-03-18 11:15:27 +10:00
2012-10-03 13:13:14 +10:00
2013-06-28 11:55:34 +10:00
2011-09-20 16:10:06 +10:00
2012-10-03 13:12:56 +10:00
2013-05-31 13:02:54 +10:00
2012-10-03 13:12:59 +10:00
2012-11-29 09:58:00 +10:00
2012-10-03 13:12:59 +10:00
2012-10-03 23:29:23 -07:00
2012-10-03 13:12:59 +10:00
2013-02-20 16:00:53 +10:00
2013-04-26 15:37:51 +10:00
2013-02-20 16:00:53 +10:00
2013-02-20 16:00:34 +10:00
2013-02-20 16:00:53 +10:00
2013-04-26 15:37:51 +10:00
2013-06-05 14:35:08 +10:00
2012-11-29 09:57:58 +10:00
2012-10-03 13:12:59 +10:00
2013-02-20 16:00:53 +10:00
2013-04-26 15:37:51 +10:00
2013-02-20 16:00:53 +10:00
2012-10-03 23:29:23 -07:00
2012-10-03 13:12:59 +10:00
2013-02-20 16:00:53 +10:00
2012-10-03 13:12:59 +10:00