drivers/gpu/drm/i915/display/g4x_dp.h
Source file repositories/reference/linux-study-clean/drivers/gpu/drm/i915/display/g4x_dp.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/gpu/drm/i915/display/g4x_dp.h- Extension
.h- Size
- 978 bytes
- Lines
- 46
- Domain
- Driver Families
- Bucket
- drivers/gpu
- Inferred role
- Driver Families: implementation source
- Status
- source 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.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/types.hintel_display_reg_defs.h
Detected Declarations
struct intel_crtc_statestruct intel_displaystruct intel_dpstruct intel_encoderenum pipeenum portfunction g4x_dp_port_enabledfunction g4x_dp_init
Annotated Snippet
#ifndef _G4X_DP_H_
#define _G4X_DP_H_
#include <linux/types.h>
#include "intel_display_reg_defs.h"
enum pipe;
enum port;
struct intel_crtc_state;
struct intel_display;
struct intel_dp;
struct intel_encoder;
#ifdef I915
const struct dpll *vlv_get_dpll(struct intel_display *display);
bool g4x_dp_port_enabled(struct intel_display *display,
intel_reg_t dp_reg, enum port port,
enum pipe *pipe);
bool g4x_dp_init(struct intel_display *display,
intel_reg_t output_reg, enum port port);
#else
static inline const struct dpll *vlv_get_dpll(struct intel_display *display)
{
return NULL;
}
static inline bool g4x_dp_port_enabled(struct intel_display *display,
intel_reg_t dp_reg, int port,
enum pipe *pipe)
{
return false;
}
static inline bool g4x_dp_init(struct intel_display *display,
intel_reg_t output_reg, int port)
{
return false;
}
#endif
#endif
Annotation
- Immediate include surface: `linux/types.h`, `intel_display_reg_defs.h`.
- Detected declarations: `struct intel_crtc_state`, `struct intel_display`, `struct intel_dp`, `struct intel_encoder`, `enum pipe`, `enum port`, `function g4x_dp_port_enabled`, `function g4x_dp_init`.
- Atlas domain: Driver Families / drivers/gpu.
- Implementation status: source implementation candidate.
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.