Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/gpu/drm/radeon/
Datom.c1404 int usage_bytes = 0; in atom_allocate_fb_scratch() local
1414 usage_bytes = le16_to_cpu(firmware_usage->asFirmwareVramReserveInfo[0].usFirmwareUseInKb) * 1024; in atom_allocate_fb_scratch()
1417 if (usage_bytes == 0) in atom_allocate_fb_scratch()
1418 usage_bytes = 20 * 1024; in atom_allocate_fb_scratch()
1420 ctx->scratch = kzalloc(usage_bytes, GFP_KERNEL); in atom_allocate_fb_scratch()
1423 ctx->scratch_size_bytes = usage_bytes; in atom_allocate_fb_scratch()