From patchwork Thu May 13 17:13:55 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Marek X-Patchwork-Id: 12256049 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BED03C433ED for ; Thu, 13 May 2021 17:17:34 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4DCD56142C for ; Thu, 13 May 2021 17:17:32 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4DCD56142C Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=marek.ca Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 930E56ED8E; Thu, 13 May 2021 17:17:31 +0000 (UTC) Received: from mail-qt1-x82b.google.com (mail-qt1-x82b.google.com [IPv6:2607:f8b0:4864:20::82b]) by gabe.freedesktop.org (Postfix) with ESMTPS id EDF426ED8E for ; Thu, 13 May 2021 17:17:29 +0000 (UTC) Received: by mail-qt1-x82b.google.com with SMTP id k19so873173qta.2 for ; Thu, 13 May 2021 10:17:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marek-ca.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=aQWQ2eSbCWjaDmjGhi3u40pp1LlF3mF4wAzWbmvdU88=; b=U2LT0FzDjK/xMUpUok6rSRmC6sln8a9nq/xG/GL6wWaMq+utmx9QWM8EjSOd4yAB9W D73Rb2yb9eNTDyBOnFP1gcEEvygZTYKBABEQkTkPLbbA+V923ocPaA9AOLWD63m39uWh 2AcKeCnkKFdxFPTwEGwbN/NMQwWv+XuQ8VFBFK8mBggX1zYm/BDFM1P6YgiAzuEboE00 FIn1P08oi2blVdk+ZtXb1RTt2yVMxCuFestLIVv/4b+JnUmkMCwD2Rl/PRyFjXOgvBka 4pvVK9nzzPK/uoUqGA9o+VLjWUpWbgw2M6EAxvi4kRaro0Q2q3Cl+24gAxIXJibquQou Moww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=aQWQ2eSbCWjaDmjGhi3u40pp1LlF3mF4wAzWbmvdU88=; b=tROm2vQQzpCOYpgK/vA2afUNoDpJbg9MNWjgcXviUpHu7PW9vcyz+bDLEqXb7EwHjR f0RePzPaQjQNGCsuBkm3MwttfrnBUyMjsuehDrbzyXICZFg2FiUJBH9a+Eycvx2HxBIn PQF0ooZ2AavaX28zcd/g3Q4nBfJsC+JmYRMJi4Y4W3K9qxYmryhJKp2o8skLuxW79HFv KnOQP+Tlm0yYG/xuPD1icT58eq2PGVb3HNHhR8JlU1mc0C+fOjRygAzILjO0hwLds/qy zfZClBs4dPlMDshsW1DTicicAaX2jx36gz+klmzOpX1vaDU/5yWRsDlbTYSKB851av6B YYqA== X-Gm-Message-State: AOAM530uAfYvNGtG9sTn9Via3GjDL+4qHxxxrHMf/JanrHlwAgwCNVvn HtFASMNbC80UWdm2Go+8luNrig== X-Google-Smtp-Source: ABdhPJy4jdPxUmPm2TaTkkMlXn2NLBuaDEPii3ErnXusughMxa4RFDdL6KRXs9VmvmjLX71N+V28tQ== X-Received: by 2002:ac8:4641:: with SMTP id f1mr39171708qto.107.1620926249104; Thu, 13 May 2021 10:17:29 -0700 (PDT) Received: from localhost.localdomain (modemcable068.184-131-66.mc.videotron.ca. [66.131.184.68]) by smtp.gmail.com with ESMTPSA id f132sm2971117qke.104.2021.05.13.10.17.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 May 2021 10:17:28 -0700 (PDT) From: Jonathan Marek To: freedreno@lists.freedesktop.org Subject: [PATCH v2 0/8] drm/msm/a6xx: add support for Adreno 660 GPU Date: Thu, 13 May 2021 13:13:55 -0400 Message-Id: <20210513171431.18632-1-jonathan@marek.ca> X-Mailer: git-send-email 2.26.1 MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Sai Prakash Ranjan , kbuild test robot , David Airlie , "open list:DRM DRIVER FOR MSM ADRENO GPU" , Sharat Masetty , Konrad Dybcio , Douglas Anderson , "open list:DRM DRIVER FOR MSM ADRENO GPU" , Bjorn Andersson , Akhil P Oommen , AngeloGioacchino Del Regno , Iskren Chernev , Jordan Crouse , Sean Paul , open list Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Add support for Adreno 660 to the drm/msm driver. Very similar to A650 on the kernel side. v2: - added AOP PDC path for a650 and use it for a660 too - fix UBWC config for a650 (also affects a660) - add CP_PROTECT update, and corresponding a660 settings in A660 patch Jonathan Marek (8): drm/msm: remove unused icc_path/ocmem_icc_path drm/msm/a6xx: use AOP-initialized PDC for a650 drm/msm/a6xx: fix incorrectly set uavflagprd_inv field for A650 drm/msm/a6xx: update/fix CP_PROTECT initialization drm/msm/a6xx: avoid shadow NULL reference in failure path drm/msm/a6xx: add support for Adreno 660 GPU drm/msm/a6xx: update a6xx_ucode_check_version for a660 drm/msm/a6xx: add a660 hwcg table drivers/gpu/drm/msm/adreno/a6xx.xml.h | 4 + drivers/gpu/drm/msm/adreno/a6xx_gmu.c | 51 +++- drivers/gpu/drm/msm/adreno/a6xx_gpu.c | 309 ++++++++++++++++----- drivers/gpu/drm/msm/adreno/a6xx_gpu.h | 2 +- drivers/gpu/drm/msm/adreno/a6xx_hfi.c | 33 +++ drivers/gpu/drm/msm/adreno/adreno_device.c | 13 + drivers/gpu/drm/msm/adreno/adreno_gpu.c | 5 +- drivers/gpu/drm/msm/adreno/adreno_gpu.h | 14 +- drivers/gpu/drm/msm/msm_gpu.h | 9 - 9 files changed, 350 insertions(+), 90 deletions(-)