drivers/gpu/drm/imagination/pvr_gem.c

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

File Facts

System
Linux kernel
Corpus path
drivers/gpu/drm/imagination/pvr_gem.c
Extension
.c
Size
12139 bytes
Lines
430
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 (offset >= accumulated_offset && offset < new_offset) {
			*dma_addr_out = sg_dma_address(sgl) +
					(offset - accumulated_offset);
			return 0;
		}

		accumulated_offset = new_offset;
	}

	return -EINVAL;
}

Annotation

Implementation Notes