drivers/gpu/drm/i915/display/intel_pmdemand.h
Source file repositories/reference/linux-study-clean/drivers/gpu/drm/i915/display/intel_pmdemand.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/gpu/drm/i915/display/intel_pmdemand.h- Extension
.h- Size
- 1381 bytes
- Lines
- 40
- 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.
- 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/types.h
Detected Declarations
struct intel_atomic_statestruct intel_crtc_statestruct intel_displaystruct intel_encoderstruct intel_global_statestruct intel_plane_statestruct intel_pmdemand_stateenum pipe
Annotated Snippet
#ifndef __INTEL_PMDEMAND_H__
#define __INTEL_PMDEMAND_H__
#include <linux/types.h>
enum pipe;
struct intel_atomic_state;
struct intel_crtc_state;
struct intel_display;
struct intel_encoder;
struct intel_global_state;
struct intel_plane_state;
struct intel_pmdemand_state;
struct intel_pmdemand_state *to_intel_pmdemand_state(struct intel_global_state *obj_state);
void intel_pmdemand_init_early(struct intel_display *display);
int intel_pmdemand_init(struct intel_display *display);
void intel_pmdemand_init_pmdemand_params(struct intel_display *display,
struct intel_pmdemand_state *pmdemand_state);
void intel_pmdemand_update_port_clock(struct intel_display *display,
struct intel_pmdemand_state *pmdemand_state,
enum pipe pipe, int port_clock);
void intel_pmdemand_update_phys_mask(struct intel_display *display,
struct intel_encoder *encoder,
struct intel_pmdemand_state *pmdemand_state,
bool clear_bit);
void intel_pmdemand_program_dbuf(struct intel_display *display,
u8 dbuf_slices);
void intel_pmdemand_pre_plane_update(struct intel_atomic_state *state);
void intel_pmdemand_post_plane_update(struct intel_atomic_state *state);
int intel_pmdemand_atomic_check(struct intel_atomic_state *state);
#endif /* __INTEL_PMDEMAND_H__ */
Annotation
- Immediate include surface: `linux/types.h`.
- Detected declarations: `struct intel_atomic_state`, `struct intel_crtc_state`, `struct intel_display`, `struct intel_encoder`, `struct intel_global_state`, `struct intel_plane_state`, `struct intel_pmdemand_state`, `enum pipe`.
- Atlas domain: Driver Families / drivers/gpu.
- Implementation status: source 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.