Re: [PATCH 1/2] drm/atomic: pass drm_device pointer to drm_atomic_private_obj_fini()
From: Luca Ceresoli
Date: Tue Oct 14 2025 - 04:04:50 EST
Hi Maxime,
On Tue Oct 14, 2025 at 9:44 AM CEST, Maxime Ripard wrote:
>> --- a/include/drm/drm_atomic.h
>> +++ b/include/drm/drm_atomic.h
>> @@ -672,7 +672,8 @@ void drm_atomic_private_obj_init(struct drm_device *dev,
>> struct drm_private_obj *obj,
>> struct drm_private_state *state,
>> const struct drm_private_state_funcs *funcs);
>> -void drm_atomic_private_obj_fini(struct drm_private_obj *obj);
>> +void drm_atomic_private_obj_fini(struct drm_device *dev,
>> + struct drm_private_obj *obj);
>
> It's redundant with
>
> https://lore.kernel.org/dri-devel/20251008-drm-private-obj-reset-v1-1-805ab43ae65a@xxxxxxxxxx/
What a timing! Thanks for the pointer, I hadn't noticed that series. It
looks useful for my work, I'm definitely reviewing and testing it very
soon.
Luca
--
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com