<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/include/drm/ttm, branch v3.9</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/include/drm/ttm?h=v3.9</id>
<link rel='self' href='https://git.amat.us/linux/atom/include/drm/ttm?h=v3.9'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2013-01-15T15:49:39Z</updated>
<entry>
<title>drm/ttm: unexport ttm_bo_wait_unreserved</title>
<updated>2013-01-15T15:49:39Z</updated>
<author>
<name>Maarten Lankhorst</name>
<email>maarten.lankhorst@canonical.com</email>
</author>
<published>2013-01-15T13:57:28Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=cc4c0c4de3c775be22072ec3251f2e581b63d9a0'/>
<id>urn:sha1:cc4c0c4de3c775be22072ec3251f2e581b63d9a0</id>
<content type='text'>
All legitimate users of this function outside ttm_bo.c are gone, now
it's only an implementation detail.

Signed-off-by: Maarten Lankhorst &lt;maarten.lankhorst@canonical.com&gt;
Reviewed-by: Jerome Glisse &lt;jglisse@redhat.com&gt;
</content>
</entry>
<entry>
<title>drm/ttm: add ttm_bo_reserve_slowpath</title>
<updated>2013-01-15T13:57:05Z</updated>
<author>
<name>Maarten Lankhorst</name>
<email>maarten.lankhorst@canonical.com</email>
</author>
<published>2013-01-15T13:57:05Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=5e45d7dfd74100d622f9cdc70bfd1f9fae1671de'/>
<id>urn:sha1:5e45d7dfd74100d622f9cdc70bfd1f9fae1671de</id>
<content type='text'>
Instead of dropping everything, waiting for the bo to be unreserved
and trying over, a better strategy would be to do a blocking wait.

This can be mapped a lot better to a mutex_lock-like call.

Signed-off-by: Maarten Lankhorst &lt;maarten.lankhorst@canonical.com&gt;
Reviewed-by: Jerome Glisse &lt;jglisse@redhat.com&gt;
</content>
</entry>
<entry>
<title>drm/ttm: remove lru_lock around ttm_bo_reserve</title>
<updated>2013-01-15T13:56:37Z</updated>
<author>
<name>Maarten Lankhorst</name>
<email>maarten.lankhorst@canonical.com</email>
</author>
<published>2013-01-15T13:56:37Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=63d0a4195560362e2e00a3ad38fc331d34e1da9b'/>
<id>urn:sha1:63d0a4195560362e2e00a3ad38fc331d34e1da9b</id>
<content type='text'>
There should no longer be assumptions that reserve will always succeed
with the lru lock held, so we can safely break the whole atomic
reserve/lru thing. As a bonus this fixes most lockdep annotations for
reservations.

Signed-off-by: Maarten Lankhorst &lt;maarten.lankhorst@canonical.com&gt;
Reviewed-by: Jerome Glisse &lt;jglisse@redhat.com&gt;
</content>
</entry>
<entry>
<title>drm/ttm: remove no_wait_reserve, v3</title>
<updated>2012-12-10T10:21:30Z</updated>
<author>
<name>Maarten Lankhorst</name>
<email>m.b.lankhorst@gmail.com</email>
</author>
<published>2012-11-28T11:25:44Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=97a875cbdf89a4638eea57c2b456c7cc4e3e8b21'/>
<id>urn:sha1:97a875cbdf89a4638eea57c2b456c7cc4e3e8b21</id>
<content type='text'>
All items on the lru list are always reservable, so this is a stupid
thing to keep. Not only that, it is used in a way which would
guarantee deadlocks if it were ever to be set to block on reserve.

This is a lot of churn, but mostly because of the removal of the
argument which can be nested arbitrarily deeply in many places.

No change of code in this patch except removal of the no_wait_reserve
argument, the previous patch removed the use of no_wait_reserve.

v2:
 - Warn if -EBUSY is returned on reservation, all objects on the list
   should be reservable. Adjusted patch slightly due to conflicts.
v3:
 - Focus on no_wait_reserve removal only.

Signed-off-by: Maarten Lankhorst &lt;maarten.lankhorst@canonical.com&gt;
Reviewed-by: Thomas Hellstrom &lt;thellstrom@vmware.com&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
</content>
</entry>
<entry>
<title>drm/ttm: alter cpu_writers to return -EBUSY in ttm_execbuf_util reservations</title>
<updated>2012-11-20T06:17:35Z</updated>
<author>
<name>Maarten Lankhorst</name>
<email>maarten.lankhorst@canonical.com</email>
</author>
<published>2012-11-06T13:39:43Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=654aa79259a19f0d5e3cf9cb20aff56dc3b041b7'/>
<id>urn:sha1:654aa79259a19f0d5e3cf9cb20aff56dc3b041b7</id>
<content type='text'>
This is similar to other platforms that don't allow command submission
to buffers locked on the cpu.

Signed-off-by: Maarten Lankhorst &lt;maarten.lankhorst@canonical.com&gt;
Reviewed-by: Thomas Hellstrom &lt;thellstrom@vmware.com&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
</content>
</entry>
<entry>
<title>drm/ttm, drm/vmwgfx: Use RCU locking for object lookups v3</title>
<updated>2012-11-20T06:15:05Z</updated>
<author>
<name>Thomas Hellstrom</name>
<email>thellstrom@vmware.com</email>
</author>
<published>2012-11-06T11:31:50Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=cdad05216c2b2edfe92a9f87d6ae51aab277f3b2'/>
<id>urn:sha1:cdad05216c2b2edfe92a9f87d6ae51aab277f3b2</id>
<content type='text'>
The mostly used lookup+get put+potential_destroy path of TTM objects
is converted to use RCU locks. This will substantially decrease the amount
of locked bus cycles during normal operation.
Since we use kfree_rcu to free the objects, no rcu synchronization is needed
at module unload time.

v2: Don't touch include/linux/kref.h
v3: Adapt to kref_get_unless_zero return value change

Signed-off-by: Thomas Hellstrom &lt;thellstrom@vmware.com&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
</content>
</entry>
<entry>
<title>drm/ttm: remove sync_arg from driver functions</title>
<updated>2012-11-20T06:10:10Z</updated>
<author>
<name>Maarten Lankhorst</name>
<email>maarten.lankhorst@canonical.com</email>
</author>
<published>2012-10-12T15:04:00Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=dedfdffd448aea2543b59fd504b92b8212ab3b7d'/>
<id>urn:sha1:dedfdffd448aea2543b59fd504b92b8212ab3b7d</id>
<content type='text'>
Signed-off-by: Maarten Lankhorst &lt;maarten.lankhorst@canonical.com&gt;
Reviewed-By: Thomas Hellstrom &lt;thellstrom@vmware.com&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
</content>
</entry>
<entry>
<title>drm/ttm: remove sync_obj_arg from ttm_bo_move_accel_cleanup</title>
<updated>2012-11-20T06:10:02Z</updated>
<author>
<name>Maarten Lankhorst</name>
<email>maarten.lankhorst@canonical.com</email>
</author>
<published>2012-10-12T15:03:11Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=b03640b1de2eb349c2453d060d0bd0b0486e29b8'/>
<id>urn:sha1:b03640b1de2eb349c2453d060d0bd0b0486e29b8</id>
<content type='text'>
Signed-off-by: Maarten Lankhorst &lt;maarten.lankhorst@canonical.com&gt;
Reviewed-By: Thomas Hellstrom &lt;thellstrom@vmware.com&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
</content>
</entry>
<entry>
<title>drm/ttm: remove sync_obj_arg member</title>
<updated>2012-11-20T06:09:55Z</updated>
<author>
<name>Maarten Lankhorst</name>
<email>maarten.lankhorst@canonical.com</email>
</author>
<published>2012-10-12T15:02:19Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=5fb4ef0e36b4c6ecc7fb025aaacb3b63b1114e87'/>
<id>urn:sha1:5fb4ef0e36b4c6ecc7fb025aaacb3b63b1114e87</id>
<content type='text'>
vmwgfx was its only user and always sets it to the same..

Signed-off-by: Maarten Lankhorst &lt;maarten.lankhorst@canonical.com&gt;
Reviewed-By: Thomas Hellstrom &lt;thellstrom@vmware.com&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
</content>
</entry>
<entry>
<title>drm/ttm: remove ttm_mem_global-&gt;queue</title>
<updated>2012-11-20T06:06:22Z</updated>
<author>
<name>Marcin Slusarz</name>
<email>marcin.slusarz@gmail.com</email>
</author>
<published>2012-11-06T21:49:54Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=91926741ecd28dc246875a39a908c2f6aadb2542'/>
<id>urn:sha1:91926741ecd28dc246875a39a908c2f6aadb2542</id>
<content type='text'>
It's unused.

Signed-off-by: Marcin Slusarz &lt;marcin.slusarz@gmail.com&gt;
Reviewed-by: Thomas Hellstrom &lt;thellstrom@vmware.com&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
</content>
</entry>
</feed>
