[RFC PATCH] drm/ttm: get rid of ttm bo refcounting

2013-11-13 Thread Thomas Hellstrom
On 11/13/2013 12:52 AM, Maarten Lankhorst wrote: > op 12-11-13 22:49, Thomas Hellstrom schreef: >> On 11/12/2013 07:26 PM, Maarten Lankhorst wrote: >>> Most drivers have refcounting done in gem, so lets get rid of another >>> refcounting layer. ;) >>> It has been confusing to keep track of 2 refco

[RFC PATCH] drm/ttm: get rid of ttm bo refcounting

2013-11-13 Thread Maarten Lankhorst
op 12-11-13 22:49, Thomas Hellstrom schreef: > On 11/12/2013 07:26 PM, Maarten Lankhorst wrote: >> Most drivers have refcounting done in gem, so lets get rid of another >> refcounting layer. ;) >> It has been confusing to keep track of 2 refcounts, so lets just let the >> driver worry about >> re

[RFC PATCH] drm/ttm: get rid of ttm bo refcounting

2013-11-12 Thread Thomas Hellstrom
On 11/12/2013 07:26 PM, Maarten Lankhorst wrote: > Most drivers have refcounting done in gem, so lets get rid of another > refcounting layer. ;) > It has been confusing to keep track of 2 refcounts, so lets just let the > driver worry about > refcounting, and keep it hidden from ttm entirely. The

[RFC PATCH] drm/ttm: get rid of ttm bo refcounting

2013-11-12 Thread Maarten Lankhorst
Most drivers have refcounting done in gem, so lets get rid of another refcounting layer. ;) It has been confusing to keep track of 2 refcounts, so lets just let the driver worry about refcounting, and keep it hidden from ttm entirely. The core doesn't need to know about the refcounting anywhere.