Re: [Intel-gfx] [PATCH v2 02/15] drm/i915: Don't free shared locks while shared

2021-05-18 Thread Intel
On 5/18/21 1:18 PM, Maarten Lankhorst wrote: Op 18-05-2021 om 10:26 schreef Thomas Hellström: We are currently sharing the VM reservation locks across a number of gem objects with page-table memory. Since TTM will individiualize the reservation locks when freeing objects, including accessing

Re: [PATCH v2 02/15] drm/i915: Don't free shared locks while shared

2021-05-18 Thread Maarten Lankhorst
Op 18-05-2021 om 10:26 schreef Thomas Hellström: > We are currently sharing the VM reservation locks across a number of > gem objects with page-table memory. Since TTM will individiualize the > reservation locks when freeing objects, including accessing the shared > locks, make sure that the

[PATCH v2 02/15] drm/i915: Don't free shared locks while shared

2021-05-18 Thread Thomas Hellström
We are currently sharing the VM reservation locks across a number of gem objects with page-table memory. Since TTM will individiualize the reservation locks when freeing objects, including accessing the shared locks, make sure that the shared locks are not freed until that is done. For PPGTT we