drivers/gpu/drm/amd/display/dc/dwb/dcn30/dcn30_cm_common.h
Source file repositories/reference/linux-study-clean/drivers/gpu/drm/amd/display/dc/dwb/dcn30/dcn30_cm_common.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/gpu/drm/amd/display/dc/dwb/dcn30/dcn30_cm_common.h- Extension
.h- Size
- 2360 bytes
- Lines
- 75
- 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
dcn10/dcn10_cm_common.h
Detected Declarations
struct DCN3_xfer_func_shiftstruct DCN3_xfer_func_maskstruct dcn3_xfer_func_reg
Annotated Snippet
struct DCN3_xfer_func_shift {
TF_HELPER_REG_FIELD_LIST_DCN3(uint8_t);
};
struct DCN3_xfer_func_mask {
TF_HELPER_REG_FIELD_LIST_DCN3(uint32_t);
};
struct dcn3_xfer_func_reg {
struct DCN3_xfer_func_shift shifts;
struct DCN3_xfer_func_mask masks;
TF_HELPER_REG_LIST;
uint32_t offset_b;
uint32_t offset_g;
uint32_t offset_r;
uint32_t start_base_cntl_b;
uint32_t start_base_cntl_g;
uint32_t start_base_cntl_r;
};
void cm_helper_program_gamcor_xfer_func(
struct dc_context *ctx,
const struct pwl_params *params,
const struct dcn3_xfer_func_reg *reg);
bool cm3_helper_translate_curve_to_hw_format(struct dc_context *ctx,
const struct dc_transfer_func *output_tf,
struct pwl_params *lut_params, bool fixpoint);
bool cm3_helper_convert_to_custom_float(
struct pwl_result_data *rgb_resulted,
struct curve_points3 *corner_points,
uint32_t hw_points_num,
bool fixpoint);
bool is_rgb_equal(const struct pwl_result_data *rgb, uint32_t num);
#endif
Annotation
- Immediate include surface: `dcn10/dcn10_cm_common.h`.
- Detected declarations: `struct DCN3_xfer_func_shift`, `struct DCN3_xfer_func_mask`, `struct dcn3_xfer_func_reg`.
- 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.