Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Damdgpu_atomfirmware.c109 struct vram_usagebyfirmware_v2_1 *firmware_usage; in amdgpu_atomfirmware_allocate_fb_scratch() local
115 firmware_usage = (struct vram_usagebyfirmware_v2_1 *)(ctx->bios + data_offset); in amdgpu_atomfirmware_allocate_fb_scratch()
117 le32_to_cpu(firmware_usage->start_address_in_kb), in amdgpu_atomfirmware_allocate_fb_scratch()
118 le16_to_cpu(firmware_usage->used_by_firmware_in_kb), in amdgpu_atomfirmware_allocate_fb_scratch()
119 le16_to_cpu(firmware_usage->used_by_driver_in_kb)); in amdgpu_atomfirmware_allocate_fb_scratch()
121 start_addr = le32_to_cpu(firmware_usage->start_address_in_kb); in amdgpu_atomfirmware_allocate_fb_scratch()
122 size = le16_to_cpu(firmware_usage->used_by_firmware_in_kb); in amdgpu_atomfirmware_allocate_fb_scratch()
134 usage_bytes = le16_to_cpu(firmware_usage->used_by_driver_in_kb) << 10; in amdgpu_atomfirmware_allocate_fb_scratch()
Damdgpu_atombios.c1634 struct _ATOM_VRAM_USAGE_BY_FIRMWARE *firmware_usage; in amdgpu_atombios_allocate_fb_scratch() local
1639 firmware_usage = (struct _ATOM_VRAM_USAGE_BY_FIRMWARE *)(ctx->bios + data_offset); in amdgpu_atombios_allocate_fb_scratch()
1642 le32_to_cpu(firmware_usage->asFirmwareVramReserveInfo[0].ulStartAddrUsedByFirmware), in amdgpu_atombios_allocate_fb_scratch()
1643 le16_to_cpu(firmware_usage->asFirmwareVramReserveInfo[0].usFirmwareUseInKb)); in amdgpu_atombios_allocate_fb_scratch()
1645 start_addr = firmware_usage->asFirmwareVramReserveInfo[0].ulStartAddrUsedByFirmware; in amdgpu_atombios_allocate_fb_scratch()
1646 size = firmware_usage->asFirmwareVramReserveInfo[0].usFirmwareUseInKb; in amdgpu_atombios_allocate_fb_scratch()
1658 usage_bytes = le16_to_cpu(firmware_usage->asFirmwareVramReserveInfo[0].usFirmwareUseInKb) * 1024; in amdgpu_atombios_allocate_fb_scratch()
/linux-6.1.9/drivers/gpu/drm/radeon/
Datom.c1404 struct _ATOM_VRAM_USAGE_BY_FIRMWARE *firmware_usage; in atom_allocate_fb_scratch() local
1407 firmware_usage = (struct _ATOM_VRAM_USAGE_BY_FIRMWARE *)(ctx->bios + data_offset); in atom_allocate_fb_scratch()
1410 le32_to_cpu(firmware_usage->asFirmwareVramReserveInfo[0].ulStartAddrUsedByFirmware), in atom_allocate_fb_scratch()
1411 le16_to_cpu(firmware_usage->asFirmwareVramReserveInfo[0].usFirmwareUseInKb)); in atom_allocate_fb_scratch()
1413 usage_bytes = le16_to_cpu(firmware_usage->asFirmwareVramReserveInfo[0].usFirmwareUseInKb) * 1024; in atom_allocate_fb_scratch()