drivers/gpu/drm/imx/ipuv3/imx-drm-core.c
Source file repositories/reference/linux-study-clean/drivers/gpu/drm/imx/ipuv3/imx-drm-core.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/gpu/drm/imx/ipuv3/imx-drm-core.c- Extension
.c- Size
- 9456 bytes
- Lines
- 378
- Domain
- Driver Families
- Bucket
- drivers/gpu
- Inferred role
- Driver Families: exported/initcall integration point
- Status
- integration implementation candidate
Why This File Exists
Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.
- Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.
- Exports symbols or registers init work; inspect boot/module ordering and who consumes the exported contract.
- Uses kernel synchronization; read lock ordering, sleepability, and interrupt context assumptions before translating.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/component.hlinux/device.hlinux/dma-buf.hlinux/module.hlinux/platform_device.hvideo/imx-ipu-v3.hdrm/clients/drm_client_setup.hdrm/drm_atomic.hdrm/drm_atomic_helper.hdrm/drm_drv.hdrm/drm_dumb_buffers.hdrm/drm_fbdev_dma.hdrm/drm_fourcc.hdrm/drm_gem_dma_helper.hdrm/drm_gem_framebuffer_helper.hdrm/drm_managed.hdrm/drm_of.hdrm/drm_probe_helper.hdrm/drm_vblank.himx-drm.hipuv3-plane.h
Detected Declarations
function imx_drm_atomic_checkfunction imx_drm_atomic_commit_tailfunction for_each_oldnew_plane_in_statefunction imx_drm_encoder_parse_offunction imx_drm_dumb_createfunction compare_offunction imx_drm_bindfunction imx_drm_unbindfunction imx_drm_platform_probefunction imx_drm_platform_removefunction imx_drm_platform_shutdownfunction imx_drm_suspendfunction imx_drm_resumefunction imx_drm_initfunction imx_drm_exitmodule init imx_drm_initexport imx_drm_encoder_parse_of
Annotated Snippet
module_init(imx_drm_init);
static void __exit imx_drm_exit(void)
{
platform_unregister_drivers(drivers, ARRAY_SIZE(drivers));
}
module_exit(imx_drm_exit);
MODULE_AUTHOR("Sascha Hauer <s.hauer@pengutronix.de>");
MODULE_DESCRIPTION("i.MX drm driver core");
MODULE_LICENSE("GPL");
Annotation
- Immediate include surface: `linux/component.h`, `linux/device.h`, `linux/dma-buf.h`, `linux/module.h`, `linux/platform_device.h`, `video/imx-ipu-v3.h`, `drm/clients/drm_client_setup.h`, `drm/drm_atomic.h`.
- Detected declarations: `function imx_drm_atomic_check`, `function imx_drm_atomic_commit_tail`, `function for_each_oldnew_plane_in_state`, `function imx_drm_encoder_parse_of`, `function imx_drm_dumb_create`, `function compare_of`, `function imx_drm_bind`, `function imx_drm_unbind`, `function imx_drm_platform_probe`, `function imx_drm_platform_remove`.
- Atlas domain: Driver Families / drivers/gpu.
- Implementation status: integration implementation candidate.
- Synchronization appears in or near this file; preserve lock ordering, sleepability, and interrupt-context constraints.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.