Searched refs:usage_bytes (Results 1 – 1 of 1) sorted by relevance
1382 int usage_bytes = 0; in atom_allocate_fb_scratch() local1392 usage_bytes = le16_to_cpu(firmware_usage->asFirmwareVramReserveInfo[0].usFirmwareUseInKb) * 1024; in atom_allocate_fb_scratch()1395 if (usage_bytes == 0) in atom_allocate_fb_scratch()1396 usage_bytes = 20 * 1024; in atom_allocate_fb_scratch()1398 ctx->scratch = malloc(usage_bytes, DRM_MEM_DRIVER, M_NOWAIT | M_ZERO); in atom_allocate_fb_scratch()1401 ctx->scratch_size_bytes = usage_bytes; in atom_allocate_fb_scratch()