Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_atombios.c1651 struct _ATOM_VRAM_USAGE_BY_FIRMWARE *firmware_usage; in amdgpu_atombios_allocate_fb_scratch() local
1656 firmware_usage = (struct _ATOM_VRAM_USAGE_BY_FIRMWARE *)(ctx->bios + data_offset); in amdgpu_atombios_allocate_fb_scratch()
1659 le32_to_cpu(firmware_usage->asFirmwareVramReserveInfo[0].ulStartAddrUsedByFirmware), in amdgpu_atombios_allocate_fb_scratch()
1660 le16_to_cpu(firmware_usage->asFirmwareVramReserveInfo[0].usFirmwareUseInKb)); in amdgpu_atombios_allocate_fb_scratch()
1662 start_addr = firmware_usage->asFirmwareVramReserveInfo[0].ulStartAddrUsedByFirmware; in amdgpu_atombios_allocate_fb_scratch()
1663 size = firmware_usage->asFirmwareVramReserveInfo[0].usFirmwareUseInKb; in amdgpu_atombios_allocate_fb_scratch()
1675 usage_bytes = le16_to_cpu(firmware_usage->asFirmwareVramReserveInfo[0].usFirmwareUseInKb) * 1024; in amdgpu_atombios_allocate_fb_scratch()
/linux-6.12.1/drivers/gpu/drm/radeon/
Datom.c1419 struct _ATOM_VRAM_USAGE_BY_FIRMWARE *firmware_usage; in atom_allocate_fb_scratch() local
1422 firmware_usage = (struct _ATOM_VRAM_USAGE_BY_FIRMWARE *)(ctx->bios + data_offset); in atom_allocate_fb_scratch()
1425 le32_to_cpu(firmware_usage->asFirmwareVramReserveInfo[0].ulStartAddrUsedByFirmware), in atom_allocate_fb_scratch()
1426 le16_to_cpu(firmware_usage->asFirmwareVramReserveInfo[0].usFirmwareUseInKb)); in atom_allocate_fb_scratch()
1428 usage_bytes = le16_to_cpu(firmware_usage->asFirmwareVramReserveInfo[0].usFirmwareUseInKb) * 1024; in atom_allocate_fb_scratch()