drivers/gpu/drm/panel/panel-edp.c
Source file repositories/reference/linux-study-clean/drivers/gpu/drm/panel/panel-edp.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/gpu/drm/panel/panel-edp.c- Extension
.c- Size
- 69247 bytes
- Lines
- 2284
- 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/debugfs.hlinux/delay.hlinux/gpio/consumer.hlinux/iopoll.hlinux/module.hlinux/of_platform.hlinux/platform_device.hlinux/pm_runtime.hlinux/regulator/consumer.hvideo/display_timing.hvideo/of_display_timing.hvideo/videomode.hdrm/display/drm_dp_aux_bus.hdrm/display/drm_dp_helper.hdrm/drm_crtc.hdrm/drm_device.hdrm/drm_edid.hdrm/drm_panel.h
Detected Declarations
struct panel_delaystruct panel_descstruct edp_panel_entrystruct panel_edpfunction panel_edp_get_timings_modesfunction panel_edp_get_display_modesfunction panel_edp_override_edid_modefunction panel_edp_get_non_edid_modesfunction panel_edp_waitfunction panel_edp_disablefunction panel_edp_suspendfunction panel_edp_unpreparefunction panel_edp_get_hpd_gpiofunction panel_edp_can_read_hpdfunction panel_edp_prepare_oncefunction panel_edp_resumefunction panel_edp_preparefunction panel_edp_enablefunction panel_edp_get_modesfunction panel_edp_get_timingsfunction panel_edp_get_orientationfunction detected_panel_showfunction panel_edp_debugfs_initfunction panel_edp_parse_panel_timing_nodefunction panel_edp_set_conservative_timingsfunction generic_edp_panel_probefunction panel_edp_probefunction panel_edp_shutdownfunction panel_edp_removefunction panel_edp_platform_probefunction panel_edp_platform_removefunction panel_edp_platform_shutdownfunction panel_edp_dp_aux_ep_probefunction panel_edp_dp_aux_ep_removefunction panel_edp_dp_aux_ep_shutdownfunction panel_edp_initfunction panel_edp_exitmodule init panel_edp_init
Annotated Snippet
module_init(panel_edp_init);
static void __exit panel_edp_exit(void)
{
dp_aux_dp_driver_unregister(&panel_edp_dp_aux_ep_driver);
platform_driver_unregister(&panel_edp_platform_driver);
}
module_exit(panel_edp_exit);
MODULE_AUTHOR("Thierry Reding <treding@nvidia.com>");
MODULE_DESCRIPTION("DRM Driver for Simple eDP Panels");
MODULE_LICENSE("GPL and additional rights");
Annotation
- Immediate include surface: `linux/debugfs.h`, `linux/delay.h`, `linux/gpio/consumer.h`, `linux/iopoll.h`, `linux/module.h`, `linux/of_platform.h`, `linux/platform_device.h`, `linux/pm_runtime.h`.
- Detected declarations: `struct panel_delay`, `struct panel_desc`, `struct edp_panel_entry`, `struct panel_edp`, `function panel_edp_get_timings_modes`, `function panel_edp_get_display_modes`, `function panel_edp_override_edid_mode`, `function panel_edp_get_non_edid_modes`, `function panel_edp_wait`, `function panel_edp_disable`.
- 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.