drivers/gpu/drm/amd/pm/powerplay/hwmgr/processpptables.h

Source file repositories/reference/linux-study-clean/drivers/gpu/drm/amd/pm/powerplay/hwmgr/processpptables.h

File Facts

System
Linux kernel
Corpus path
drivers/gpu/drm/amd/pm/powerplay/hwmgr/processpptables.h
Extension
.h
Size
1903 bytes
Lines
51
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

#ifndef PROCESSPPTABLES_H
#define PROCESSPPTABLES_H

struct pp_hwmgr;
struct pp_power_state;
struct pp_hw_power_state;

extern const struct pp_table_func pptable_funcs;

typedef int (*pp_tables_hw_clock_info_callback)(struct pp_hwmgr *hwmgr,
						struct pp_hw_power_state *hw_ps,
						unsigned int index,
						const void *clock_info);

int pp_tables_get_num_of_entries(struct pp_hwmgr *hwmgr,
				 unsigned long *num_of_entries);

int pp_tables_get_entry(struct pp_hwmgr *hwmgr,
			unsigned long entry_index,
			struct pp_power_state *ps,
			pp_tables_hw_clock_info_callback func);

int pp_tables_get_response_times(struct pp_hwmgr *hwmgr,
				 uint32_t *vol_rep_time, uint32_t *bb_rep_time);

#endif

Annotation

Implementation Notes