]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm: rcar-du: Store CMM device pointer instead of platform_device
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Mon, 23 Mar 2026 16:45:24 +0000 (18:45 +0200)
committerTomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Thu, 26 Mar 2026 13:16:24 +0000 (15:16 +0200)
commit0f6f28c8d88e33ccab524b3c8a86e629e12e3276
tree169a90e90f66e134fb10f39c9cea897cf8d8ff2c
parentdb5be3a7d6bd5c0e9694803a489d4d1689d6d5ef
drm: rcar-du: Store CMM device pointer instead of platform_device

The DU driver stores the CMM devices as pointers to struct
platform_device, and passes them to the API exposed by the CMM driver.
This is similar to how the VSP is handled, except that the VSP uses
struct device pointers. Replace the CMM platform_device pointers with
device pointers for consistency.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Link: https://patch.msgid.link/20260323164526.2292491-3-laurent.pinchart+renesas@ideasonboard.com
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
drivers/gpu/drm/renesas/rcar-du/rcar_cmm.c
drivers/gpu/drm/renesas/rcar-du/rcar_cmm.h
drivers/gpu/drm/renesas/rcar-du/rcar_du_crtc.h
drivers/gpu/drm/renesas/rcar-du/rcar_du_drv.h
drivers/gpu/drm/renesas/rcar-du/rcar_du_kms.c