Mesa (master): turnip: remove unused RB_UNKNOWN_8E04_blit

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Apr 24 17:56:40 UTC 2020


Module: Mesa
Branch: master
Commit: f81e56c9a06c06780139bc4a19befea73aa10144
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f81e56c9a06c06780139bc4a19befea73aa10144

Author: Jonathan Marek <jonathan at marek.ca>
Date:   Fri Apr 17 12:35:53 2020 -0400

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 <jonathan at marek.ca>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4608>

---

 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;



More information about the mesa-commit mailing list