drivers/gpu/drm/exynos/exynos_drm_drv.c
Source file repositories/reference/linux-study-clean/drivers/gpu/drm/exynos/exynos_drm_drv.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/gpu/drm/exynos/exynos_drm_drv.c- Extension
.c- Size
- 11593 bytes
- Lines
- 483
- 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.
- Allocates kernel memory; connect allocation flags and lifetime to context constraints.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/component.hlinux/dma-mapping.hlinux/platform_device.hlinux/pm_runtime.hlinux/uaccess.hdrm/clients/drm_client_setup.hdrm/drm_atomic.hdrm/drm_atomic_helper.hdrm/drm_drv.hdrm/drm_file.hdrm/drm_fourcc.hdrm/drm_ioctl.hdrm/drm_probe_helper.hdrm/drm_vblank.hdrm/exynos_drm.hexynos_drm_drv.hexynos_drm_fb.hexynos_drm_fbdev.hexynos_drm_g2d.hexynos_drm_gem.hexynos_drm_ipp.hexynos_drm_plane.hexynos_drm_vidi.h
Detected Declarations
struct exynos_drm_driver_infofunction Copyrightfunction exynos_drm_postclosefunction exynos_drm_suspendfunction exynos_drm_resumefunction exynos_drm_bindfunction exynos_drm_unbindfunction exynos_drm_platform_probefunction exynos_drm_platform_removefunction exynos_drm_platform_shutdownfunction exynos_drm_unregister_devicesfunction exynos_drm_register_devicesfunction exynos_drm_unregister_driversfunction exynos_drm_register_driversfunction exynos_drm_initfunction exynos_drm_exitmodule init exynos_drm_init
Annotated Snippet
module_init(exynos_drm_init);
module_exit(exynos_drm_exit);
MODULE_AUTHOR("Inki Dae <inki.dae@samsung.com>");
MODULE_AUTHOR("Joonyoung Shim <jy0922.shim@samsung.com>");
MODULE_AUTHOR("Seung-Woo Kim <sw0312.kim@samsung.com>");
MODULE_DESCRIPTION("Samsung SoC DRM Driver");
MODULE_LICENSE("GPL");
Annotation
- Immediate include surface: `linux/component.h`, `linux/dma-mapping.h`, `linux/platform_device.h`, `linux/pm_runtime.h`, `linux/uaccess.h`, `drm/clients/drm_client_setup.h`, `drm/drm_atomic.h`, `drm/drm_atomic_helper.h`.
- Detected declarations: `struct exynos_drm_driver_info`, `function Copyright`, `function exynos_drm_postclose`, `function exynos_drm_suspend`, `function exynos_drm_resume`, `function exynos_drm_bind`, `function exynos_drm_unbind`, `function exynos_drm_platform_probe`, `function exynos_drm_platform_remove`, `function exynos_drm_platform_shutdown`.
- 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.