mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-02 03:38:06 +02:00
etnaviv: hwdb: Add WIDELINE_TRIANGLE_EMU cap
Used to tell if the GPU core needs wide line emulation. Signed-off-by: Christian Gmeiner <cgmeiner@igalia.com> Reviewed-by: Daniel Lang <dalang@gmx.at> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40006>
This commit is contained in:
parent
28f0157250
commit
28ae3c0bf0
3 changed files with 3 additions and 0 deletions
|
|
@ -73,6 +73,7 @@ enum etna_feature {
|
|||
ETNA_FEATURE_S8,
|
||||
ETNA_FEATURE_HWTFB,
|
||||
ETNA_FEATURE_BLT_64BPP_MASKED_CLEAR_FIX,
|
||||
ETNA_FEATURE_WIDELINE_TRIANGLE_EMU,
|
||||
ETNA_FEATURE_NUM,
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -148,6 +148,7 @@ query_features_from_kernel(struct etna_gpu *gpu)
|
|||
ETNA_FEATURE(chipMinorFeatures8, SH_NO_ONECONST_LIMIT);
|
||||
|
||||
ETNA_FEATURE(chipMinorFeatures10, DEC400);
|
||||
ETNA_FEATURE(chipMinorFeatures10, WIDELINE_TRIANGLE_EMU);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
|
|
@ -113,6 +113,7 @@ etna_query_feature_db(struct etna_core_info *info)
|
|||
ETNA_FEATURE(REG_RSS8, S8);
|
||||
ETNA_FEATURE(HWTFB, HWTFB);
|
||||
ETNA_FEATURE(BLT_64bpp_MASKED_CLEAR_FIX, BLT_64BPP_MASKED_CLEAR_FIX);
|
||||
ETNA_FEATURE(WIDELINE_TRIANGLE_EMU, WIDELINE_TRIANGLE_EMU);
|
||||
|
||||
/* Limits: */
|
||||
if (etna_core_has_feature(info, ETNA_FEATURE_CORE_GPU)) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue