summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/etnaviv/etnaviv_hwdb.c
diff options
context:
space:
mode:
authorLucas Stach <l.stach@pengutronix.de>2023-02-01 18:29:07 +0300
committerLucas Stach <l.stach@pengutronix.de>2023-07-17 12:29:12 +0300
commit81372e4eb102f8788d2a1eb6367cc8399a3dedc9 (patch)
treedab5e8e802318b767ea298dbc05bf05c2d06f100 /drivers/gpu/drm/etnaviv/etnaviv_hwdb.c
parent20faf2005ec85fa1a6acc9a74ff27de667f90576 (diff)
downloadlinux-81372e4eb102f8788d2a1eb6367cc8399a3dedc9.tar.xz
drm/etnaviv: add HWDB entry for VIP8000 Nano r8002
This is the NPU found on the NXP i.MX8MP SoC. Feature bits taken from the downstream kernel driver 6.4.3.p4.4. Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Diffstat (limited to 'drivers/gpu/drm/etnaviv/etnaviv_hwdb.c')
-rw-r--r--drivers/gpu/drm/etnaviv/etnaviv_hwdb.c32
1 files changed, 32 insertions, 0 deletions
diff --git a/drivers/gpu/drm/etnaviv/etnaviv_hwdb.c b/drivers/gpu/drm/etnaviv/etnaviv_hwdb.c
index 2e63afa6c798..8d39fd53eed6 100644
--- a/drivers/gpu/drm/etnaviv/etnaviv_hwdb.c
+++ b/drivers/gpu/drm/etnaviv/etnaviv_hwdb.c
@@ -197,6 +197,38 @@ static const struct etnaviv_chip_identity etnaviv_chip_identities[] = {
.minor_features10 = 0x108048c0,
.minor_features11 = 0x00000010,
},
+ {
+ .model = 0x8000,
+ .revision = 0x8002,
+ .product_id = 0x5080009,
+ .customer_id = 0x9f,
+ .eco_id = 0x6000000,
+ .stream_count = 8,
+ .register_max = 64,
+ .thread_count = 256,
+ .shader_core_count = 1,
+ .nn_core_count = 6,
+ .vertex_cache_size = 16,
+ .vertex_output_buffer_size = 1024,
+ .pixel_pipes = 1,
+ .instruction_count = 512,
+ .num_constants = 320,
+ .buffer_size = 0,
+ .varyings_count = 16,
+ .features = 0xe0287cac,
+ .minor_features0 = 0xc1799eff,
+ .minor_features1 = 0xfefbfadb,
+ .minor_features2 = 0xeb9d6fbf,
+ .minor_features3 = 0xedfffced,
+ .minor_features4 = 0xd30dafc7,
+ .minor_features5 = 0x7b5ac333,
+ .minor_features6 = 0xfc8ee200,
+ .minor_features7 = 0x03fffa6f,
+ .minor_features8 = 0x00fe0ef0,
+ .minor_features9 = 0x0088003c,
+ .minor_features10 = 0x108048c0,
+ .minor_features11 = 0x00000010,
+ },
};
bool etnaviv_fill_identity_from_hwdb(struct etnaviv_gpu *gpu)