drivers/gpu/drm/i915/display/hsw_ips.h
Source file repositories/reference/linux-study-clean/drivers/gpu/drm/i915/display/hsw_ips.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/gpu/drm/i915/display/hsw_ips.h- Extension
.h- Size
- 1637 bytes
- Lines
- 63
- 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_crtcstruct intel_crtc_statefunction hsw_ips_disablefunction hsw_ips_pre_updatefunction hsw_ips_post_updatefunction hsw_ips_min_cdclkfunction hsw_ips_compute_configfunction hsw_ips_get_config
Annotated Snippet
#ifndef __HSW_IPS_H__
#define __HSW_IPS_H__
#include <linux/types.h>
struct intel_atomic_state;
struct intel_crtc;
struct intel_crtc_state;
#ifdef I915
bool hsw_ips_disable(const struct intel_crtc_state *crtc_state);
bool hsw_ips_pre_update(struct intel_atomic_state *state,
struct intel_crtc *crtc);
void hsw_ips_post_update(struct intel_atomic_state *state,
struct intel_crtc *crtc);
bool hsw_crtc_supports_ips(struct intel_crtc *crtc);
int hsw_ips_min_cdclk(const struct intel_crtc_state *crtc_state);
int hsw_ips_compute_config(struct intel_atomic_state *state,
struct intel_crtc *crtc);
void hsw_ips_get_config(struct intel_crtc_state *crtc_state);
void hsw_ips_crtc_debugfs_add(struct intel_crtc *crtc);
#else
static inline bool hsw_ips_disable(const struct intel_crtc_state *crtc_state)
{
return false;
}
static inline bool hsw_ips_pre_update(struct intel_atomic_state *state,
struct intel_crtc *crtc)
{
return false;
}
static inline void hsw_ips_post_update(struct intel_atomic_state *state,
struct intel_crtc *crtc)
{
}
static inline bool hsw_crtc_supports_ips(struct intel_crtc *crtc)
{
return false;
}
static inline int hsw_ips_min_cdclk(const struct intel_crtc_state *crtc_state)
{
return 0;
}
static inline int hsw_ips_compute_config(struct intel_atomic_state *state,
struct intel_crtc *crtc)
{
return 0;
}
static inline void hsw_ips_get_config(struct intel_crtc_state *crtc_state)
{
}
static inline void hsw_ips_crtc_debugfs_add(struct intel_crtc *crtc)
{
}
#endif
#endif /* __HSW_IPS_H__ */
Annotation
- Immediate include surface: `linux/types.h`.
- Detected declarations: `struct intel_atomic_state`, `struct intel_crtc`, `struct intel_crtc_state`, `function hsw_ips_disable`, `function hsw_ips_pre_update`, `function hsw_ips_post_update`, `function hsw_ips_min_cdclk`, `function hsw_ips_compute_config`, `function hsw_ips_get_config`.
- 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.