Re: Switch reference counting to GEM instead of TTM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2024-07-16 at 14:35 +0200, Christian König wrote:
> Hello everyone,
> 
> to make use of drm_exec it is necessary to have TTM drivers actually
> use
> the GEM reference count instead of the TTM one.
> 
> This patch set is a start to do that. It switches all uses of
> ttm_bo_get/put to the GEM counterpart and then makes ttm_bo_get
> private
> to TTM.

For xe
Acked-by: Thomas Hellström <thomas.hellstrom@xxxxxxxxxxxxxxx>


> 
> Netx step is to completely remove the TTM refcounting.

This is probably going to be a bit complicated, and in particular IMO
we must ensure that the refcount resurrection doesn't leak to the gem
refcount and annotate the driver callbacks that might get called with
deleted (gem refcount 0) objects.

/Thomas


> 
> Please review and/or comment.
> 
> Cheers,
> Christian.
> 
> 





[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux