Searched refs:usage_bytes (Results 1 – 3 of 3) sorted by relevance
105 struct vram_usagebyfirmware_v2_1 *fw_usage, int *usage_bytes) in amdgpu_atomfirmware_allocate_fb_v2_1() argument126 *usage_bytes = 0; in amdgpu_atomfirmware_allocate_fb_v2_1()128 *usage_bytes = drv_size << 10; in amdgpu_atomfirmware_allocate_fb_v2_1()134 struct vram_usagebyfirmware_v2_2 *fw_usage, int *usage_bytes) in amdgpu_atomfirmware_allocate_fb_v2_2() argument168 *usage_bytes = 0; in amdgpu_atomfirmware_allocate_fb_v2_2()181 int usage_bytes = 0; in amdgpu_atomfirmware_allocate_fb_scratch() local189 &usage_bytes); in amdgpu_atomfirmware_allocate_fb_scratch()195 &usage_bytes); in amdgpu_atomfirmware_allocate_fb_scratch()200 if (usage_bytes == 0) in amdgpu_atomfirmware_allocate_fb_scratch()201 usage_bytes = 20 * 1024; in amdgpu_atomfirmware_allocate_fb_scratch()[all …]
1635 int usage_bytes = 0; in amdgpu_atombios_allocate_fb_scratch() local1658 usage_bytes = 0; in amdgpu_atombios_allocate_fb_scratch()1660 usage_bytes = le16_to_cpu(firmware_usage->asFirmwareVramReserveInfo[0].usFirmwareUseInKb) * 1024; in amdgpu_atombios_allocate_fb_scratch()1664 if (usage_bytes == 0) in amdgpu_atombios_allocate_fb_scratch()1665 usage_bytes = 20 * 1024; in amdgpu_atombios_allocate_fb_scratch()1667 ctx->scratch = kzalloc(usage_bytes, GFP_KERNEL); in amdgpu_atombios_allocate_fb_scratch()1670 ctx->scratch_size_bytes = usage_bytes; in amdgpu_atombios_allocate_fb_scratch()
1399 int usage_bytes = 0; in atom_allocate_fb_scratch() local1409 usage_bytes = le16_to_cpu(firmware_usage->asFirmwareVramReserveInfo[0].usFirmwareUseInKb) * 1024; in atom_allocate_fb_scratch()1412 if (usage_bytes == 0) in atom_allocate_fb_scratch()1413 usage_bytes = 20 * 1024; in atom_allocate_fb_scratch()1415 ctx->scratch = kzalloc(usage_bytes, GFP_KERNEL); in atom_allocate_fb_scratch()1418 ctx->scratch_size_bytes = usage_bytes; in atom_allocate_fb_scratch()