aboutsummaryrefslogtreecommitdiffstats
path: root/src/freedreno
diff options
context:
space:
mode:
authorJonathan Marek <[email protected]>2020-04-17 12:35:53 -0400
committerMarge Bot <[email protected]>2020-04-24 17:42:01 +0000
commitf81e56c9a06c06780139bc4a19befea73aa10144 (patch)
tree1d0482e4911eb945a424df5ac727be876d84d14d /src/freedreno
parentc68313868921f8d7125e46091cd92dbe00f845ec (diff)
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 <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4608>
Diffstat (limited to 'src/freedreno')
-rw-r--r--src/freedreno/vulkan/tu_device.c2
-rw-r--r--src/freedreno/vulkan/tu_private.h1
2 files changed, 0 insertions, 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;