drivers/gpu/drm/i915/display/skl_scaler.h
Source file repositories/reference/linux-study-clean/drivers/gpu/drm/i915/display/skl_scaler.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/gpu/drm/i915/display/skl_scaler.h- Extension
.h- Size
- 2459 bytes
- Lines
- 64
- 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
- No C-style include directives detected by the generator.
Detected Declarations
struct drm_display_modestruct intel_atomic_statestruct intel_crtcstruct intel_crtc_statestruct intel_displaystruct intel_dsbstruct intel_planestruct intel_plane_stateenum drm_mode_statusenum intel_output_format
Annotated Snippet
#ifndef INTEL_SCALER_H
#define INTEL_SCALER_H
enum drm_mode_status;
struct drm_display_mode;
struct intel_atomic_state;
struct intel_crtc;
struct intel_crtc_state;
struct intel_display;
struct intel_dsb;
enum intel_output_format;
struct intel_plane;
struct intel_plane_state;
int skl_update_scaler_crtc(struct intel_crtc_state *crtc_state);
int skl_update_scaler_plane(struct intel_crtc_state *crtc_state,
struct intel_plane_state *plane_state);
int intel_atomic_setup_scalers(struct intel_atomic_state *state,
struct intel_crtc *crtc);
void skl_pfit_enable(const struct intel_crtc_state *crtc_state);
void skl_program_plane_scaler(struct intel_dsb *dsb,
struct intel_plane *plane,
const struct intel_crtc_state *crtc_state,
const struct intel_plane_state *plane_state);
void skl_detach_scalers(struct intel_dsb *dsb,
const struct intel_crtc_state *crtc_state);
void skl_scaler_disable(const struct intel_crtc_state *old_crtc_state);
void skl_scaler_get_config(struct intel_crtc_state *crtc_state);
enum drm_mode_status
skl_scaler_mode_valid(struct intel_display *display,
const struct drm_display_mode *mode,
enum intel_output_format output_format,
int num_joined_pipes);
void adl_scaler_ecc_mask(const struct intel_crtc_state *crtc_state);
void adl_scaler_ecc_unmask(const struct intel_crtc_state *crtc_state);
unsigned int skl_scaler_max_total_scale(const struct intel_crtc_state *crtc_state);
unsigned int skl_scaler_max_scale(const struct intel_crtc_state *crtc_state);
unsigned int skl_scaler_max_hscale(const struct intel_crtc_state *crtc_state);
unsigned int skl_scaler_1st_prefill_adjustment_worst(const struct intel_crtc_state *crtc_state);
unsigned int skl_scaler_2nd_prefill_adjustment_worst(const struct intel_crtc_state *crtc_state);
unsigned int skl_scaler_1st_prefill_lines_worst(const struct intel_crtc_state *crtc_state);
unsigned int skl_scaler_2nd_prefill_lines_worst(const struct intel_crtc_state *crtc_state);
unsigned int skl_scaler_1st_prefill_adjustment(const struct intel_crtc_state *crtc_state);
unsigned int skl_scaler_2nd_prefill_adjustment(const struct intel_crtc_state *crtc_state);
unsigned int skl_scaler_1st_prefill_lines(const struct intel_crtc_state *crtc_state);
unsigned int skl_scaler_2nd_prefill_lines(const struct intel_crtc_state *crtc_state);
#endif
Annotation
- Detected declarations: `struct drm_display_mode`, `struct intel_atomic_state`, `struct intel_crtc`, `struct intel_crtc_state`, `struct intel_display`, `struct intel_dsb`, `struct intel_plane`, `struct intel_plane_state`, `enum drm_mode_status`, `enum intel_output_format`.
- 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.