diff options
| author | Brian Ruley <[email protected]> | 2025-12-29 12:48:07 +0200 |
|---|---|---|
| committer | Fabio Estevam <[email protected]> | 2025-12-29 10:17:01 -0300 |
| commit | f0109936060973ca56be78d0c29681d13686ad4d (patch) | |
| tree | 858525a9e57c019c7acabf9de854cbd6cd4249a4 /include | |
| parent | a5afc0287b98f87443abb66b44a86fe9a5b092bd (diff) | |
video: imx: ipuv3: refactor to use dm-managed state
Get rid of most globals that are spread around between TU's and place
them in their own structs managed by dm. Device state is now owned by
each driver instance. This design mirrors the Linux IPUv3 driver
architecture.
This work is done in preparation to migrate the driver to the clock
framework. While not the primary intent, this change also enables
multiple IPU instances to exist contemporarily.
Signed-off-by: Brian Ruley <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/ipu_pixfmt.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/ipu_pixfmt.h b/include/ipu_pixfmt.h index 866ead0ec71..a485d713805 100644 --- a/include/ipu_pixfmt.h +++ b/include/ipu_pixfmt.h @@ -11,6 +11,7 @@ #ifndef __IPU_PIXFMT_H__ #define __IPU_PIXFMT_H__ +#include <dm/device.h> #include <linux/list.h> #include <linux/fb.h> @@ -62,6 +63,6 @@ int ipuv3_fb_init(struct fb_videomode const *mode, uint8_t disp, uint32_t pixfmt); -void ipuv3_fb_shutdown(void); +void ipuv3_fb_shutdown(struct udevice *dev); #endif |
