drivers/gpu/drm/amd/amdgpu/ta_rap_if.h

Source file repositories/reference/linux-study-clean/drivers/gpu/drm/amd/amdgpu/ta_rap_if.h

File Facts

System
Linux kernel
Corpus path
drivers/gpu/drm/amd/amdgpu/ta_rap_if.h
Extension
.h
Size
2861 bytes
Lines
85
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 ta_rap_cmd_input_data {
	uint8_t reserved[8];
};

struct ta_rap_cmd_output_data {
	uint32_t    last_subsection;
	uint32_t    num_total_validate;
	uint32_t    num_valid;
	uint32_t    last_validate_addr;
	uint32_t    last_validate_val;
	uint32_t    last_validate_val_exptd;
};

union ta_rap_cmd_input {
	struct ta_rap_cmd_input_data input;
};

union ta_rap_cmd_output {
	struct ta_rap_cmd_output_data output;
};

struct ta_rap_shared_memory {
	uint32_t                    cmd_id;
	uint32_t                    validation_method_id;
	uint32_t                    resp_id;
	enum ta_rap_status          rap_status;
	union ta_rap_cmd_input      rap_in_message;
	union ta_rap_cmd_output     rap_out_message;
	uint8_t                     reserved[64];
};

#endif  // #define _TA_RAP_IF_H

Annotation

Implementation Notes