Re: [PATCH v2] drm/prime: fix drm_prime_gem_destroy comment

2025-03-28 Thread Christian König
Am 28.03.25 um 12:01 schrieb Danilo Krummrich: > On Wed, Mar 26, 2025 at 01:10:58PM +, Chris Bainbridge wrote: >> Edit the comments on correct usage of drm_prime_gem_destroy to note >> that, if using TTM, drm_prime_gem_destroy must be called in the >> ttm_buffer_object.destroy hook, to avoid th

Re: [PATCH v2] drm/prime: fix drm_prime_gem_destroy comment

2025-03-28 Thread Danilo Krummrich
On Wed, Mar 26, 2025 at 01:10:58PM +, Chris Bainbridge wrote: > Edit the comments on correct usage of drm_prime_gem_destroy to note > that, if using TTM, drm_prime_gem_destroy must be called in the > ttm_buffer_object.destroy hook, to avoid the dma_buf being freed leaving > a dangling pointer w