drivers/gpu/drm/amd/display/dc/hubp/dcn201/dcn201_hubp.h

Source file repositories/reference/linux-study-clean/drivers/gpu/drm/amd/display/dc/hubp/dcn201/dcn201_hubp.h

File Facts

System
Linux kernel
Corpus path
drivers/gpu/drm/amd/display/dc/hubp/dcn201/dcn201_hubp.h
Extension
.h
Size
5681 bytes
Lines
133
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.

Dependency Surface

Detected Declarations

Annotated Snippet

struct dcn201_hubp_registers {
	DCN201_HUBP_REG_VARIABLE_LIST;
};

struct dcn201_hubp_shift {
	DCN201_HUBP_REG_FIELD_VARIABLE_LIST(uint8_t);
};

struct dcn201_hubp_mask {
	DCN201_HUBP_REG_FIELD_VARIABLE_LIST(uint32_t);
};

struct dcn201_hubp {
	struct hubp base;
	struct dcn_hubp_state state;
	const struct dcn201_hubp_registers *hubp_regs;
	const struct dcn201_hubp_shift *hubp_shift;
	const struct dcn201_hubp_mask *hubp_mask;
};

bool dcn201_hubp_construct(
	struct dcn201_hubp *hubp201,
	struct dc_context *ctx,
	uint32_t inst,
	const struct dcn201_hubp_registers *hubp_regs,
	const struct dcn201_hubp_shift *hubp_shift,
	const struct dcn201_hubp_mask *hubp_mask);

#endif /* __DC_HWSS_DCN20_H__ */

Annotation

Implementation Notes