]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/etnaviv: add HWDB entry for GC7000 rev 6204
authorSascha Hauer <s.hauer@pengutronix.de>
Fri, 19 Mar 2021 19:02:02 +0000 (20:02 +0100)
committerLucas Stach <l.stach@pengutronix.de>
Thu, 10 Jun 2021 13:09:40 +0000 (15:09 +0200)
This is the 3D GPU found on the i.MX8MP SoC. The feature bits are
taken from the NXP downstream kernel driver 6.4.3.p1.305572.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
drivers/gpu/drm/etnaviv/etnaviv_hwdb.c

index 167971a09be79ce0973fb8e50314c5a061a5d39c..dfc0f536b3b9d4ef01252d703900ce41dd2636c4 100644 (file)
@@ -37,6 +37,37 @@ static const struct etnaviv_chip_identity etnaviv_chip_identities[] = {
                .minor_features10 = 0x0,
                .minor_features11 = 0x0,
        },
+       {
+               .model = 0x7000,
+               .revision = 0x6204,
+               .product_id = ~0U,
+               .customer_id = ~0U,
+               .eco_id = 0,
+               .stream_count = 16,
+               .register_max = 64,
+               .thread_count = 512,
+               .shader_core_count = 2,
+               .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 = 0xe0287c8d,
+               .minor_features0 = 0xc1589eff,
+               .minor_features1 = 0xfefbfad9,
+               .minor_features2 = 0xeb9d4fbf,
+               .minor_features3 = 0xedfffced,
+               .minor_features4 = 0xdb0dafc7,
+               .minor_features5 = 0x3b5ac333,
+               .minor_features6 = 0xfcce6000,
+               .minor_features7 = 0xfffbfa6f,
+               .minor_features8 = 0x00e10ef3,
+               .minor_features9 = 0x04c8003c,
+               .minor_features10 = 0x00004060,
+               .minor_features11 = 0x00000024,
+       },
        {
                .model = 0x7000,
                .revision = 0x6214,