etnaviv: hwdb: add COMPUTE_ONLY cap

Used to tell if the GPU core includes a graphics pipeline.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Christian Gmeiner <cgmeiner@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30606>
This commit is contained in:
Lucas Stach 2024-07-09 19:04:40 +02:00 committed by Marge Bot
parent 1d0a12438d
commit 8725ec90a3
2 changed files with 2 additions and 0 deletions

View file

@ -61,6 +61,7 @@ enum etna_feature {
ETNA_FEATURE_RS_NEW_BASEADDR,
ETNA_FEATURE_PE_NO_ALPHA_TEST,
ETNA_FEATURE_SH_NO_ONECONST_LIMIT,
ETNA_FEATURE_COMPUTE_ONLY,
ETNA_FEATURE_DEC400,
ETNA_FEATURE_VIP_V7,
ETNA_FEATURE_NN_XYDP0,

View file

@ -88,6 +88,7 @@ etna_query_feature_db(struct etna_core_info *info)
ETNA_FEATURE(PE_NO_ALPHA_TEST, PE_NO_ALPHA_TEST);
ETNA_FEATURE(SH_NO_ONECONST_LIMIT, SH_NO_ONECONST_LIMIT);
ETNA_FEATURE(COMPUTE_ONLY, COMPUTE_ONLY);
ETNA_FEATURE(DEC400, DEC400);