Home
last modified time | relevance | path

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

/freebsd-12.1/sys/dev/drm2/radeon/
H A Datom.c1382 int usage_bytes = 0; in atom_allocate_fb_scratch() local
1392 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()