From f81e56c9a06c06780139bc4a19befea73aa10144 Mon Sep 17 00:00:00 2001 From: Jonathan Marek Date: Fri, 17 Apr 2020 12:35:53 -0400 Subject: [PATCH] turnip: remove unused RB_UNKNOWN_8E04_blit New blit code doesn't change this value, and different values seem to be related to the driver version and not the GPU version. Signed-off-by: Jonathan Marek Part-of: --- src/freedreno/vulkan/tu_device.c | 2 -- src/freedreno/vulkan/tu_private.h | 1 - 2 files changed, 3 deletions(-) diff --git a/src/freedreno/vulkan/tu_device.c b/src/freedreno/vulkan/tu_device.c index 91e1a846daf..ea1ee8ee8aa 100644 --- a/src/freedreno/vulkan/tu_device.c +++ b/src/freedreno/vulkan/tu_device.c @@ -265,7 +265,6 @@ tu_physical_device_init(struct tu_physical_device *device, switch (device->gpu_id) { case 618: - device->magic.RB_UNKNOWN_8E04_blit = 0x00100000; device->ccu_offset_gmem = 0x7c000; /* 0x7e000 in some cases? */ device->ccu_offset_bypass = 0x10000; device->magic.PC_UNKNOWN_9805 = 0x0; @@ -273,7 +272,6 @@ tu_physical_device_init(struct tu_physical_device *device, break; case 630: case 640: - device->magic.RB_UNKNOWN_8E04_blit = 0x01000000; device->ccu_offset_gmem = 0xf8000; device->ccu_offset_bypass = 0x20000; device->magic.PC_UNKNOWN_9805 = 0x1; diff --git a/src/freedreno/vulkan/tu_private.h b/src/freedreno/vulkan/tu_private.h index dfd9d5101b5..062bcf98786 100644 --- a/src/freedreno/vulkan/tu_private.h +++ b/src/freedreno/vulkan/tu_private.h @@ -328,7 +328,6 @@ struct tu_physical_device #define GMEM_ALIGN_H 4 struct { - uint32_t RB_UNKNOWN_8E04_blit; /* for CP_BLIT's */ uint32_t PC_UNKNOWN_9805; uint32_t SP_UNKNOWN_A0F8; } magic; -- 2.30.2