turnip: remove unused RB_UNKNOWN_8E04_blit
authorJonathan Marek <jonathan@marek.ca>
Fri, 17 Apr 2020 16:35:53 +0000 (12:35 -0400)
committerMarge Bot <eric+marge@anholt.net>
Fri, 24 Apr 2020 17:42:01 +0000 (17:42 +0000)
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@marek.ca>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4608>

src/freedreno/vulkan/tu_device.c
src/freedreno/vulkan/tu_private.h

index 91e1a846daf5bd9d6da809753c0630f165372109..ea1ee8ee8aaf9664ecbf268cd9216a00ce931a96 100644 (file)
@@ -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;
index dfd9d5101b50fd96de129df36721877fade5f9a9..062bcf987863002d8432b21c1b016710a6097905 100644 (file)
@@ -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;