From 7028b78252f2da40aa350f481c40b14b86145032 Mon Sep 17 00:00:00 2001 From: Christian Gmeiner Date: Tue, 26 Aug 2025 01:00:34 +0200 Subject: [PATCH] etnaviv: hwdb: Add S8 feature This feature tells if the GPU core supports 8bit stencil. The bit in the gc_feature_database.h is called REG_RSS8 but lets call it just S8 to name it more generic. Signed-off-by: Christian Gmeiner Part-of: --- src/etnaviv/common/etna_core_info.h | 1 + src/etnaviv/hwdb/etna_hwdb.c | 1 + 2 files changed, 2 insertions(+) diff --git a/src/etnaviv/common/etna_core_info.h b/src/etnaviv/common/etna_core_info.h index faab9c505ea..a9e78d9fece 100644 --- a/src/etnaviv/common/etna_core_info.h +++ b/src/etnaviv/common/etna_core_info.h @@ -68,6 +68,7 @@ enum etna_feature { ETNA_FEATURE_NN_XYDP0, ETNA_FEATURE_YUV420_TILER, ETNA_FEATURE_MSAA_FRAGMENT_OPERATION, + ETNA_FEATURE_S8, ETNA_FEATURE_NUM, }; diff --git a/src/etnaviv/hwdb/etna_hwdb.c b/src/etnaviv/hwdb/etna_hwdb.c index 5d645e20a41..382581a0bc8 100644 --- a/src/etnaviv/hwdb/etna_hwdb.c +++ b/src/etnaviv/hwdb/etna_hwdb.c @@ -110,6 +110,7 @@ etna_query_feature_db(struct etna_core_info *info) ETNA_FEATURE(NN_XYDP0, NN_XYDP0); ETNA_FEATURE(MSAA_FRAGMENT_OPERATION, MSAA_FRAGMENT_OPERATION); + ETNA_FEATURE(REG_RSS8, S8); /* Limits: */ if (info->type == ETNA_CORE_GPU) {