diff options
Diffstat (limited to 'src/freedreno/vulkan/tu_device.c')
-rw-r--r-- | src/freedreno/vulkan/tu_device.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/freedreno/vulkan/tu_device.c b/src/freedreno/vulkan/tu_device.c index ea1ee8ee8aa..30cc1442dd4 100644 --- a/src/freedreno/vulkan/tu_device.c +++ b/src/freedreno/vulkan/tu_device.c @@ -267,6 +267,7 @@ tu_physical_device_init(struct tu_physical_device *device, case 618: device->ccu_offset_gmem = 0x7c000; /* 0x7e000 in some cases? */ device->ccu_offset_bypass = 0x10000; + device->tile_align_w = 64; device->magic.PC_UNKNOWN_9805 = 0x0; device->magic.SP_UNKNOWN_A0F8 = 0x0; break; @@ -274,9 +275,17 @@ tu_physical_device_init(struct tu_physical_device *device, case 640: device->ccu_offset_gmem = 0xf8000; device->ccu_offset_bypass = 0x20000; + device->tile_align_w = 64; device->magic.PC_UNKNOWN_9805 = 0x1; device->magic.SP_UNKNOWN_A0F8 = 0x1; break; + case 650: + device->ccu_offset_gmem = 0x114000; + device->ccu_offset_bypass = 0x30000; + device->tile_align_w = 96; + device->magic.PC_UNKNOWN_9805 = 0x2; + device->magic.SP_UNKNOWN_A0F8 = 0x2; + break; default: result = vk_errorf(instance, VK_ERROR_INITIALIZATION_FAILED, "device %s is unsupported", device->name); |