drivers/gpu/drm/imagination/pvr_debugfs.c

Source file repositories/reference/linux-study-clean/drivers/gpu/drm/imagination/pvr_debugfs.c

File Facts

System
Linux kernel
Corpus path
drivers/gpu/drm/imagination/pvr_debugfs.c
Extension
.c
Size
1255 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

if (IS_ERR(dir)) {
			drm_warn(drm_dev,
				 "failed to create debugfs dir '%s' (err=%d)",
				 entry->name, (int)PTR_ERR(dir));
			continue;
		}

		entry->init(pvr_dev, dir);
	}
}

/*
 * Since all entries are created under &drm_minor->debugfs_root, there's no
 * need for a pvr_debugfs_fini() as DRM will clean up everything under its root
 * automatically.
 */

Annotation

Implementation Notes