]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/atomic: Add dev pointer to drm_private_obj
authorMaxime Ripard <mripard@kernel.org>
Tue, 14 Oct 2025 09:31:45 +0000 (11:31 +0200)
committerMaxime Ripard <mripard@kernel.org>
Mon, 8 Dec 2025 15:35:46 +0000 (16:35 +0100)
commit4ebaaa3b622238ea44fbaa21998ad76bd8417a8c
tree48d08df4906c91b276e4b62ff738c0a7a09c326f
parent70478348fc6d52d5bb7568a035d3cbe5bcc6af4c
drm/atomic: Add dev pointer to drm_private_obj

All the objects that need to implement some callbacks in KMS have a
pointer in there structure to the main drm_device.

However, it's not the case for drm_private_objs, which makes it harder
than it needs to be to implement some of its callbacks. Let's add that
pointer.

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Reviewed-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Tested-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Link: https://patch.msgid.link/20251014-drm-private-obj-reset-v2-1-6dd60e985e9d@kernel.org
Signed-off-by: Maxime Ripard <mripard@kernel.org>
drivers/gpu/drm/drm_atomic.c
include/drm/drm_atomic.h