From nobody Fri Sep 19 01:23:09 2025 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4C5F5C47088 for ; Fri, 2 Dec 2022 11:53:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233433AbiLBLxP (ORCPT ); Fri, 2 Dec 2022 06:53:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40982 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233378AbiLBLwr (ORCPT ); Fri, 2 Dec 2022 06:52:47 -0500 Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com [IPv6:2a00:1450:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 59D792B26E for ; Fri, 2 Dec 2022 03:52:46 -0800 (PST) Received: by mail-ej1-x636.google.com with SMTP id b2so10993492eja.7 for ; Fri, 02 Dec 2022 03:52:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:from:to:cc:subject:date :message-id:reply-to; bh=Q2njBXO/jcTn1hW9BCGP1JQWTyTb5ivQ7E5VaL+5F8g=; b=PGqEPPKLMPgV0vs1JO0S4lzeqt1JVLn2xyAx1A9+XqqmsQA4aW7b2OGtkWZTtYA3Eg Z0+OCjTBDGEUvJZVWwBhd4GXirMMRQWepVJWj/kIkaFdxGN+0cyEeAOP4CaqICWSop+5 MhGsjaaGZUC02+BGwqJO78pXzl3AeZS+nSd5P8SiZAMc0ekU8MnPvuR36J3dJrJeUihs TlZjIuRUSmjtDzZorkt5kjUVuaspXtG+JM7dVqZNvCLb4YSjE3/fFfBfUYgFPwAHCPx1 xqXOSZ7Ud8M8UwiehMREoc+zKjdd6BdHaTn2sP6dtAoUTzIuFgAnPJGWLXVYc6Mg9oe3 W06Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=Q2njBXO/jcTn1hW9BCGP1JQWTyTb5ivQ7E5VaL+5F8g=; b=IRzAYhnCWH7Eufg/RosswMbxSVkm1hO1Znrkvd4LSKL+8zqRBhIrjvYLmfeR2IErSj ARvUAqt6VrLPvN7Sq9jnvmfZEAQOXxsleKqSTvh532Vc1pMaS/P9d1lGcBOqatoxQA2A xMCxG2vIMRBnCCdyaVirx5zTca0GvobSRU2ux3ujKhnFl3BwWLl5bLTWxRKNtIKUq0A0 cDLJDJluXIIF+5svc88PQYYf1BdiJnCAnJGhGurxL99MjOOde77lQpVN1T2D3ViCmR9I vgfP6PoBlsHbAkW98PjuISoOFz/yhfXem0J4sRfVBkBTOyzNTnLcttnd3mTbZqWuvrK4 G7sA== X-Gm-Message-State: ANoB5pmiHfOO5O+ot7xPwB1sELmGKVukZMlNVJmanWZQzJEV0BcbuqPg GlKQhdppVCE0BORN7Satm5E= X-Google-Smtp-Source: AA0mqf4fSMzOzi3Zl9q8HAMPixjYiZvqfbProtvQ+lQZi/7zRZUXdlor2DZsqaqo4HlonrVcIFxykg== X-Received: by 2002:a17:906:d0da:b0:7ad:9891:8756 with SMTP id bq26-20020a170906d0da00b007ad98918756mr60667631ejb.203.1669981964923; Fri, 02 Dec 2022 03:52:44 -0800 (PST) Received: from cizrna.home (cst-prg-44-69.cust.vodafone.cz. [46.135.44.69]) by smtp.gmail.com with ESMTPSA id ha7-20020a170906a88700b007c0bb571da5sm1206762ejb.41.2022.12.02.03.52.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Dec 2022 03:52:44 -0800 (PST) Sender: Tomeu Vizoso From: Tomeu Vizoso Cc: italonicola@collabora.com, Tomeu Vizoso , Lucas Stach , Russell King , Christian Gmeiner , David Airlie , Daniel Vetter , etnaviv@lists.freedesktop.org (moderated list:DRM DRIVERS FOR VIVANTE GPU IP), dri-devel@lists.freedesktop.org (open list:DRM DRIVERS FOR VIVANTE GPU IP), linux-kernel@vger.kernel.org (open list) Subject: [PATCH v6 7/8] drm/etnaviv: add HWDB entry for VIPNano-QI.7120.0055 Date: Fri, 2 Dec 2022 12:52:19 +0100 Message-Id: <20221202115223.39051-8-tomeu.vizoso@collabora.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221202115223.39051-1-tomeu.vizoso@collabora.com> References: <20221202115223.39051-1-tomeu.vizoso@collabora.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" This is a compute-only module marketed towards AI and vision acceleration. This particular version can be found on the Amlogic A311D SoC. The feature bits are taken from the Khadas downstream kernel driver 6.4.4.3.310723AAA. Signed-off-by: Tomeu Vizoso --- drivers/gpu/drm/etnaviv/etnaviv_hwdb.c | 31 ++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/drivers/gpu/drm/etnaviv/etnaviv_hwdb.c b/drivers/gpu/drm/etnav= iv/etnaviv_hwdb.c index 44df273a5aae..66b8ad6c7d26 100644 --- a/drivers/gpu/drm/etnaviv/etnaviv_hwdb.c +++ b/drivers/gpu/drm/etnaviv/etnaviv_hwdb.c @@ -134,6 +134,37 @@ static const struct etnaviv_chip_identity etnaviv_chip= _identities[] =3D { .minor_features10 =3D 0x90044250, .minor_features11 =3D 0x00000024, }, + { + .model =3D 0x8000, + .revision =3D 0x7120, + .product_id =3D 0x45080009, + .customer_id =3D 0x88, + .eco_id =3D 0, + .stream_count =3D 8, + .register_max =3D 64, + .thread_count =3D 256, + .shader_core_count =3D 1, + .vertex_cache_size =3D 16, + .vertex_output_buffer_size =3D 1024, + .pixel_pipes =3D 1, + .instruction_count =3D 512, + .num_constants =3D 320, + .buffer_size =3D 0, + .varyings_count =3D 16, + .features =3D 0xe0287cac, + .minor_features0 =3D 0xc1799eff, + .minor_features1 =3D 0xfefbfadb, + .minor_features2 =3D 0xeb9d6fbf, + .minor_features3 =3D 0xedfffced, + .minor_features4 =3D 0xd30dafc7, + .minor_features5 =3D 0x7b5ac333, + .minor_features6 =3D 0xfc8ee200, + .minor_features7 =3D 0x03fffa6f, + .minor_features8 =3D 0x00fe0ef0, + .minor_features9 =3D 0x0088003c, + .minor_features10 =3D 0x108048c0, + .minor_features11 =3D 0x00000010, + }, }; =20 bool etnaviv_fill_identity_from_hwdb(struct etnaviv_gpu *gpu) --=20 2.38.1