mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 13:48:06 +02:00
hasvk: Rip out local memory support
Things could probably be simplified further but this at least gets rid of most of the dead code and the dead flags and fields. Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19852>
This commit is contained in:
parent
4256d2cbc2
commit
d0fea83d7b
1 changed files with 1 additions and 4 deletions
|
|
@ -385,7 +385,6 @@ anv_update_meminfo(struct anv_physical_device *device, int fd)
|
|||
device->sys.available = devinfo->mem.sram.mappable.free;
|
||||
}
|
||||
|
||||
|
||||
static VkResult
|
||||
anv_physical_device_init_heaps(struct anv_physical_device *device, int fd)
|
||||
{
|
||||
|
|
@ -1757,9 +1756,7 @@ void anv_GetPhysicalDeviceProperties(
|
|||
.driverVersion = vk_get_driver_version(),
|
||||
.vendorID = 0x8086,
|
||||
.deviceID = pdevice->info.pci_device_id,
|
||||
.deviceType = pdevice->info.has_local_mem ?
|
||||
VK_PHYSICAL_DEVICE_TYPE_DISCRETE_GPU :
|
||||
VK_PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU,
|
||||
.deviceType = VK_PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU,
|
||||
.limits = limits,
|
||||
.sparseProperties = {0}, /* Broadwell doesn't do sparse. */
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue