drivers/gpu/drm/xe/xe_uc_debugfs.c
Source file repositories/reference/linux-study-clean/drivers/gpu/drm/xe/xe_uc_debugfs.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/gpu/drm/xe/xe_uc_debugfs.c- Extension
.c- Size
- 640 bytes
- Lines
- 31
- 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/debugfs.hdrm/drm_debugfs.hxe_gsc_debugfs.hxe_guc_debugfs.hxe_huc_debugfs.hxe_macros.hxe_uc_debugfs.hxe_uc_types.h
Detected Declarations
function xe_uc_debugfs_register
Annotated Snippet
// SPDX-License-Identifier: MIT
/*
* Copyright © 2022 Intel Corporation
*/
#include <linux/debugfs.h>
#include <drm/drm_debugfs.h>
#include "xe_gsc_debugfs.h"
#include "xe_guc_debugfs.h"
#include "xe_huc_debugfs.h"
#include "xe_macros.h"
#include "xe_uc_debugfs.h"
#include "xe_uc_types.h"
void xe_uc_debugfs_register(struct xe_uc *uc, struct dentry *parent)
{
struct dentry *root;
root = debugfs_create_dir("uc", parent);
if (IS_ERR(root)) {
XE_WARN_ON("Create UC directory failed");
return;
}
xe_gsc_debugfs_register(&uc->gsc, root);
xe_guc_debugfs_register(&uc->guc, root);
xe_huc_debugfs_register(&uc->huc, root);
}
Annotation
- Immediate include surface: `linux/debugfs.h`, `drm/drm_debugfs.h`, `xe_gsc_debugfs.h`, `xe_guc_debugfs.h`, `xe_huc_debugfs.h`, `xe_macros.h`, `xe_uc_debugfs.h`, `xe_uc_types.h`.
- Detected declarations: `function xe_uc_debugfs_register`.
- 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.