mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-14 08:40:30 +01:00
etnaviv: hwdb: Add VIP_V7 and NN_XYDP0 feature bits
These can be used to detect the NN core architecture version [1]. [1] https://github.com/nxp-imx/linux-imx/blob/lf-6.1.36-2.1.0/drivers/mxc/gpu-viv/hal/kernel/arch/gc_hal_kernel_hardware_func.c#L5464-L5465 Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Reviewed-by: Christian Gmeiner <cgmeiner@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28878>
This commit is contained in:
parent
588c762936
commit
db2d5a0103
2 changed files with 5 additions and 0 deletions
|
|
@ -62,6 +62,8 @@ enum etna_feature {
|
|||
ETNA_FEATURE_PE_NO_ALPHA_TEST,
|
||||
ETNA_FEATURE_SH_NO_ONECONST_LIMIT,
|
||||
ETNA_FEATURE_DEC400,
|
||||
ETNA_FEATURE_VIP_V7,
|
||||
ETNA_FEATURE_NN_XYDP0,
|
||||
ETNA_FEATURE_NUM,
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -91,6 +91,9 @@ etna_query_feature_db(struct etna_core_info *info)
|
|||
|
||||
ETNA_FEATURE(DEC400, DEC400);
|
||||
|
||||
ETNA_FEATURE(VIP_V7, VIP_V7);
|
||||
ETNA_FEATURE(NN_XYDP0, NN_XYDP0);
|
||||
|
||||
/* Limits: */
|
||||
if (info->type == ETNA_CORE_GPU) {
|
||||
info->gpu.max_instructions = db->InstructionCount;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue