]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/atomic: Document __drm_private_objs_state state pointer
authorMaxime Ripard <mripard@kernel.org>
Tue, 30 Sep 2025 10:59:54 +0000 (12:59 +0200)
committerMaxime Ripard <mripard@kernel.org>
Mon, 6 Oct 2025 11:59:24 +0000 (13:59 +0200)
commit7a031e8d3528ba0860d282ffd3c88fbda4bf8c4c
tree6225e707944e04a288be415645f201cb16d34a0f
parent40d2a29d86798c2ae709528f76dcd12feeede6c2
drm/atomic: Document __drm_private_objs_state state pointer

While the old and new state pointers are somewhat self-explanatory, the
state pointer and its relation to the other two really isn't.

Now that we've cleaned up everything and it isn't used in any
modesetting path, we can document what it's still useful for: to free
the right state when we free the global state.

Reviewed-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://lore.kernel.org/r/20250930-drm-no-more-existing-state-v5-39-eeb9e1287907@kernel.org
Signed-off-by: Maxime Ripard <mripard@kernel.org>
include/drm/drm_atomic.h