drivers/gpu/drm/amd/display/dc/dce112/dce112_compressor.h
Source file repositories/reference/linux-study-clean/drivers/gpu/drm/amd/display/dc/dce112/dce112_compressor.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/gpu/drm/amd/display/dc/dce112/dce112_compressor.h- Extension
.h- Size
- 2702 bytes
- Lines
- 79
- 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
../inc/compressor.h
Detected Declarations
struct dce112_compressor_reg_offsetsstruct dce112_compressor
Annotated Snippet
struct dce112_compressor_reg_offsets {
uint32_t dcp_offset;
uint32_t dmif_offset;
};
struct dce112_compressor {
struct compressor base;
struct dce112_compressor_reg_offsets offsets;
};
struct compressor *dce112_compressor_create(struct dc_context *ctx);
void dce112_compressor_construct(struct dce112_compressor *cp110,
struct dc_context *ctx);
void dce112_compressor_destroy(struct compressor **cp);
/* FBC RELATED */
void dce112_compressor_power_up_fbc(struct compressor *cp);
void dce112_compressor_enable_fbc(struct compressor *cp, uint32_t paths_num,
struct compr_addr_and_pitch_params *params);
void dce112_compressor_disable_fbc(struct compressor *cp);
void dce112_compressor_set_fbc_invalidation_triggers(struct compressor *cp,
uint32_t fbc_trigger);
void dce112_compressor_program_compressed_surface_address_and_pitch(
struct compressor *cp,
struct compr_addr_and_pitch_params *params);
bool dce112_compressor_is_fbc_enabled_in_hw(struct compressor *cp,
uint32_t *fbc_mapped_crtc_id);
/* LPT RELATED */
void dce112_compressor_enable_lpt(struct compressor *cp);
void dce112_compressor_disable_lpt(struct compressor *cp);
void dce112_compressor_program_lpt_control(struct compressor *cp,
struct compr_addr_and_pitch_params *params);
bool dce112_compressor_is_lpt_enabled_in_hw(struct compressor *cp);
#endif
Annotation
- Immediate include surface: `../inc/compressor.h`.
- Detected declarations: `struct dce112_compressor_reg_offsets`, `struct dce112_compressor`.
- 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.