Home
last modified time | relevance | path

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

/third_party/mesa3d/src/amd/addrlib/src/core/
Daddrlib2.cpp2079 DOUBLE memoryBudget, in BlockTypeWithinMemoryBudget() argument
2084 if (memoryBudget >= 1.0) in BlockTypeWithinMemoryBudget()
2088 if ((static_cast<DOUBLE>(newBlockTypeSize) / minSize) <= memoryBudget) in BlockTypeWithinMemoryBudget()
2095 if ((static_cast<DOUBLE>(minSize) / newBlockTypeSize) > memoryBudget) in BlockTypeWithinMemoryBudget()
Daddrlib2.h933 DOUBLE memoryBudget = 0.0f,
/third_party/mesa3d/src/intel/vulkan/
Danv_device.c2568 VkPhysicalDeviceMemoryBudgetPropertiesEXT *memoryBudget) in anv_get_memory_budget() argument
2619 memoryBudget->heapUsage[i] = heap_used; in anv_get_memory_budget()
2620 memoryBudget->heapBudget[i] = heap_budget; in anv_get_memory_budget()
2627 memoryBudget->heapBudget[i] = 0; in anv_get_memory_budget()
2628 memoryBudget->heapUsage[i] = 0; in anv_get_memory_budget()
/third_party/mesa3d/src/amd/vulkan/
Dradv_device.c2401 VkPhysicalDeviceMemoryBudgetPropertiesEXT *memoryBudget) in radv_get_memory_budget_properties() argument
2454 memoryBudget->heapBudget[vram_vis_heap_idx] = vram_vis_free_space + vram_vis_internal_usage; in radv_get_memory_budget_properties()
2455 memoryBudget->heapUsage[vram_vis_heap_idx] = vram_vis_internal_usage; in radv_get_memory_budget_properties()
2456 memoryBudget->heapBudget[gtt_heap_idx] = gtt_free_space + gtt_internal_usage; in radv_get_memory_budget_properties()
2457 memoryBudget->heapUsage[gtt_heap_idx] = gtt_internal_usage; in radv_get_memory_budget_properties()
2486 memoryBudget->heapBudget[heap] = free_space + internal_usage; in radv_get_memory_budget_properties()
2487 memoryBudget->heapUsage[heap] = internal_usage; in radv_get_memory_budget_properties()
2499 memoryBudget->heapBudget[i] = 0; in radv_get_memory_budget_properties()
2500 memoryBudget->heapUsage[i] = 0; in radv_get_memory_budget_properties()
/third_party/mesa3d/src/amd/addrlib/src/gfx10/
Dgfx10addrlib.cpp2825 pIn->memoryBudget, in HwlGetPreferredSurfaceSetting()
3064 … const BOOL_32 computeMinSize = (pIn->flags.minimizeAlign == 1) || (pIn->memoryBudget >= 1.0); in HwlGetPreferredSurfaceSetting()
3158 if (pIn->memoryBudget > 1.0) in HwlGetPreferredSurfaceSetting()
3193 pIn->memoryBudget, in HwlGetPreferredSurfaceSetting()
/third_party/mesa3d/src/amd/addrlib/src/gfx9/
Dgfx9addrlib.cpp3737 … const BOOL_32 computeMinSize = (pIn->flags.minimizeAlign == 1) || (pIn->memoryBudget >= 1.0); in HwlGetPreferredSurfaceSetting()
3809 if (pIn->memoryBudget > 1.0) in HwlGetPreferredSurfaceSetting()
3838 … if (BlockTypeWithinMemoryBudget(minSize, padSize[i], 0, 0, pIn->memoryBudget) == FALSE) in HwlGetPreferredSurfaceSetting()
/third_party/mesa3d/src/amd/addrlib/inc/
Daddrinterface.h3875 DOUBLE memoryBudget; ///< Memory consumption ratio based on minimum possible member