Mesa (master): intel: Drop gen_device_info::has_resource_streamer

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Apr 7 13:41:08 UTC 2021


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

Author: Jason Ekstrand <jason at jlekstrand.net>
Date:   Tue Apr  6 21:39:56 2021 -0500

intel: Drop gen_device_info::has_resource_streamer

We've never done anything with that HW and it was removed in ICL.
There's no point in carrying around the useless field.

Acked-by: Caio Marcelo de Oliveira Filho <caio.oliveira at intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10069>

---

 src/intel/dev/gen_device_info.c | 4 +---
 src/intel/dev/gen_device_info.h | 1 -
 2 files changed, 1 insertion(+), 4 deletions(-)

diff --git a/src/intel/dev/gen_device_info.c b/src/intel/dev/gen_device_info.c
index 0956e04e309..082790ce029 100644
--- a/src/intel/dev/gen_device_info.c
+++ b/src/intel/dev/gen_device_info.c
@@ -310,8 +310,7 @@ static const struct gen_device_info gen_device_info_byt = {
    GFX7_FEATURES,                \
    .is_haswell = true,           \
    .verx10 = 75,                 \
-   .supports_simd16_3src = true, \
-   .has_resource_streamer = true
+   .supports_simd16_3src = true
 
 static const struct gen_device_info gen_device_info_hsw_gt1 = {
    HSW_FEATURES, .gt = 1,
@@ -403,7 +402,6 @@ static const struct gen_device_info gen_device_info_hsw_gt3 = {
 #define GFX8_FEATURES                               \
    .ver = 8,                                        \
    .has_hiz_and_separate_stencil = true,            \
-   .has_resource_streamer = true,                   \
    .must_use_separate_stencil = true,               \
    .has_llc = true,                                 \
    .has_sample_with_hiz = false,                    \
diff --git a/src/intel/dev/gen_device_info.h b/src/intel/dev/gen_device_info.h
index 97ae717a837..fe5ac11a388 100644
--- a/src/intel/dev/gen_device_info.h
+++ b/src/intel/dev/gen_device_info.h
@@ -81,7 +81,6 @@ struct gen_device_info
    bool has_compr4;
    bool has_surface_tile_offset;
    bool supports_simd16_3src;
-   bool has_resource_streamer;
    bool disable_ccs_repack;
    bool has_aux_map;
    bool has_tiling_uapi;



More information about the mesa-commit mailing list