drivers/gpu/drm/xe/tests/xe_pci_test.h
Source file repositories/reference/linux-study-clean/drivers/gpu/drm/xe/tests/xe_pci_test.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/gpu/drm/xe/tests/xe_pci_test.h- Extension
.h- Size
- 1078 bytes
- Lines
- 37
- 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
linux/types.hkunit/test.hxe_platform_types.hxe_sriov_types.hxe_step_types.h
Detected Declarations
struct xe_devicestruct xe_pci_fake_data
Annotated Snippet
struct xe_pci_fake_data {
enum xe_sriov_mode sriov_mode;
enum xe_platform platform;
enum xe_subplatform subplatform;
struct xe_step_info step;
u32 graphics_verx100;
u32 media_verx100;
};
int xe_pci_fake_device_init(struct xe_device *xe);
const void *xe_pci_fake_data_gen_params(struct kunit *test, const void *prev, char *desc);
void xe_pci_fake_data_desc(const struct xe_pci_fake_data *param, char *desc);
const void *xe_pci_graphics_ip_gen_param(struct kunit *test, const void *prev, char *desc);
const void *xe_pci_media_ip_gen_param(struct kunit *test, const void *prev, char *desc);
const void *xe_pci_id_gen_param(struct kunit *test, const void *prev, char *desc);
const void *xe_pci_live_device_gen_param(struct kunit *test, const void *prev, char *desc);
#endif
Annotation
- Immediate include surface: `linux/types.h`, `kunit/test.h`, `xe_platform_types.h`, `xe_sriov_types.h`, `xe_step_types.h`.
- Detected declarations: `struct xe_device`, `struct xe_pci_fake_data`.
- 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.