drivers/gpu/drm/amd/amdgpu/umc_v6_0.c

Source file repositories/reference/linux-study-clean/drivers/gpu/drm/amd/amdgpu/umc_v6_0.c

File Facts

System
Linux kernel
Corpus path
drivers/gpu/drm/amd/amdgpu/umc_v6_0.c
Extension
.c
Size
1469 bytes
Lines
38
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

#include "umc_v6_0.h"
#include "amdgpu.h"

static void umc_v6_0_init_registers(struct amdgpu_device *adev)
{
	unsigned i, j;

	for (i = 0; i < 4; i++)
		for (j = 0; j < 4; j++)
			WREG32((i*0x100000 + 0x5010c + j*0x2000)/4, 0x1002);
}

const struct amdgpu_umc_funcs umc_v6_0_funcs = {
	.init_registers = umc_v6_0_init_registers,
};

Annotation

Implementation Notes