Home
last modified time | relevance | path

Searched refs:usage_bytes (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/gpu/drm/radeon/
H A Datom.c1418 int usage_bytes = 0; in atom_allocate_fb_scratch() local
1428 usage_bytes = le16_to_cpu(firmware_usage->asFirmwareVramReserveInfo[0].usFirmwareUseInKb) * 1024; in atom_allocate_fb_scratch()
1431 if (usage_bytes == 0) in atom_allocate_fb_scratch()
1432 usage_bytes = 20 * 1024; in atom_allocate_fb_scratch()
1434 ctx->scratch = kzalloc(usage_bytes, GFP_KERNEL); in atom_allocate_fb_scratch()
1437 ctx->scratch_size_bytes = usage_bytes; in atom_allocate_fb_scratch()