Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_atombios.c1670 int usage_bytes = 0; in amdgpu_atombios_allocate_fb_scratch() local
1693 usage_bytes = 0; in amdgpu_atombios_allocate_fb_scratch()
1695 usage_bytes = le16_to_cpu(firmware_usage->asFirmwareVramReserveInfo[0].usFirmwareUseInKb) * 1024; in amdgpu_atombios_allocate_fb_scratch()
1699 if (usage_bytes == 0) in amdgpu_atombios_allocate_fb_scratch()
1700 usage_bytes = 20 * 1024; in amdgpu_atombios_allocate_fb_scratch()
1702 ctx->scratch = kzalloc(usage_bytes, GFP_KERNEL); in amdgpu_atombios_allocate_fb_scratch()
1705 ctx->scratch_size_bytes = usage_bytes; in amdgpu_atombios_allocate_fb_scratch()