[Intel-gfx] [PATCH 1/3] drm/i915: Generalise GPU activity tracking

Tvrtko Ursulin tvrtko.ursulin at linux.intel.com
Thu Jan 31 11:40:25 UTC 2019


On 31/01/2019 11:32, Chris Wilson wrote:
> Quoting Tvrtko Ursulin (2019-01-31 11:25:10)
>>
>> On 30/01/2019 20:50, Chris Wilson wrote:
>>> We currently track GPU memory usage inside VMA, such that we never
>>> release memory used by the GPU until after it has finished accessing it.
>>> However, we may want to track other resources aside from VMA, or we may
>>> want to split a VMA into multiple independent regions and track each
>>> separately. For this purpose, generalise our request tracking (akin to
>>> struct reservation_object) so that we can embed it into other objects.
>>>
>>
>> Changelog where art thou?
> 
> The changes are patches 2 & 3!
> 
> This patch is just about moving code, we haven't come up with a new name
> so nothing to change here yet. But I wanted to discuss to the idea of
> immediately parking and using global slabs.

There's a new GEM_BUG_ON! ;)

Regards,

Tvrtko


More information about the Intel-gfx mailing list