Skip to content

Commit 349bf01

Browse files
committed
drm/etnaviv: add HWDB entry for GC520 r5341 c204
This is the 2D GPU found on the 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>
1 parent 81372e4 commit 349bf01

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

drivers/gpu/drm/etnaviv/etnaviv_hwdb.c

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,37 @@ static const struct etnaviv_chip_identity etnaviv_chip_identities[] = {
3838
.minor_features10 = 0x0,
3939
.minor_features11 = 0x0,
4040
},
41+
{
42+
.model = 0x520,
43+
.revision = 0x5341,
44+
.product_id = 0x5202,
45+
.customer_id = 0x204,
46+
.eco_id = 0,
47+
.stream_count = 1,
48+
.register_max = 64,
49+
.thread_count = 256,
50+
.shader_core_count = 1,
51+
.vertex_cache_size = 8,
52+
.vertex_output_buffer_size = 512,
53+
.pixel_pipes = 1,
54+
.instruction_count = 256,
55+
.num_constants = 168,
56+
.buffer_size = 0,
57+
.varyings_count = 8,
58+
.features = 0xe02c7eca,
59+
.minor_features0 = 0xe9399eff,
60+
.minor_features1 = 0xfe1fb2db,
61+
.minor_features2 = 0xcedf0080,
62+
.minor_features3 = 0x10800005,
63+
.minor_features4 = 0x20000000,
64+
.minor_features5 = 0x00020880,
65+
.minor_features6 = 0x00000000,
66+
.minor_features7 = 0x00001000,
67+
.minor_features8 = 0x00000000,
68+
.minor_features9 = 0x00000000,
69+
.minor_features10 = 0x00000000,
70+
.minor_features11 = 0x00000000,
71+
},
4172
{
4273
.model = 0x7000,
4374
.revision = 0x6202,

0 commit comments

Comments
 (0)