drivers/gpu/drm/sysfb/drm_sysfb.c

Source file repositories/reference/linux-study-clean/drivers/gpu/drm/sysfb/drm_sysfb.c

File Facts

System
Linux kernel
Corpus path
drivers/gpu/drm/sysfb/drm_sysfb.c
Extension
.c
Size
1434 bytes
Lines
60
Domain
Driver Families
Bucket
drivers/gpu
Inferred role
Driver Families: exported/initcall integration point
Status
integration 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 (pixel_format_equal(pixel, &f->pixel)) {
			format = drm_format_info(f->fourcc);
			break;
		}
	}

	if (!format)
		drm_warn(dev, "No compatible color format found\n");

	return format;
}
EXPORT_SYMBOL(drm_sysfb_get_format);

MODULE_DESCRIPTION("Helpers for DRM sysfb drivers");
MODULE_LICENSE("GPL");

Annotation

Implementation Notes