Message ID | 20191031104402.31813-1-kholk11@gmail.com (mailing list archive) |
---|---|
Headers | show
Return-Path: <SRS0=K1BD=YY=lists.freedesktop.org=dri-devel-bounces@kernel.org> Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 6A0D415AB for <patchwork-dri-devel@patchwork.kernel.org>; Thu, 31 Oct 2019 13:00:53 +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 521302087E for <patchwork-dri-devel@patchwork.kernel.org>; Thu, 31 Oct 2019 13:00:53 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 521302087E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com 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 5E0B66EC32; Thu, 31 Oct 2019 13:00:43 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) by gabe.freedesktop.org (Postfix) with ESMTPS id 398C46EE1A; Thu, 31 Oct 2019 10:44:10 +0000 (UTC) Received: by mail-wr1-x443.google.com with SMTP id v9so5673327wrq.5; Thu, 31 Oct 2019 03:44:10 -0700 (PDT) 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=7kyw+VrjIluOVETkrbPtQFePhVuk9mRrThavtM8H778=; b=PFWbcYrKsPzUj1CVeZvZD3nJQMmPQ7w6VD0WCFm6VXROsACr0MOLWebyj5ZCDL2H8l NWIWd9uPaq1XPqueSW9dVI3uvgt4BzqNgoBpUmfE45pjZGSo7c56xzUt19RNTDJ++vzE 8akKQeyJkqOMiFGNOHf6I4tRAnoAUenYiQOGfYR0lYuO5JW6My6A1HAUMJPwlXhVo1zg jKuJR3DCh72js0ZMJuWh8PFGL4nvkAq6P9cFz4EEy7dHIxAWiM7/5+Y6gNs3nCdEOHGo VikMg5dvYWL8mJdjeKqzWUnfs+zeK5EnTvnTbjjxDpev/ih3jTdNrdAw7IsAXaCyRD6d i11g== X-Gm-Message-State: APjAAAUuU/J2aECMOjrAJuvSQWzvPBdek+6EgHEcBax76cnoLDI/yVtE +CVRgHPmMIHNSQ055Osa6ug= X-Google-Smtp-Source: APXvYqxbYaS5sRyVAhsl7geY/EZw3oqStF/nVVJakRko/T4e9ztkZGbbDjq1w9/MAC6c8i/F1CydPg== X-Received: by 2002:adf:e903:: with SMTP id f3mr5124031wrm.121.1572518648641; Thu, 31 Oct 2019 03:44:08 -0700 (PDT) Received: from IcarusMOD.eternityproject.eu ([93.51.16.173]) by smtp.gmail.com with ESMTPSA id q25sm4141389wra.3.2019.10.31.03.44.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 31 Oct 2019 03:44:08 -0700 (PDT) From: kholk11@gmail.com To: linux-arm-msm@vger.kernel.org Subject: [PATCH v4 0/7] DRM/MSM: Add support for MSM8956 and Adreno 510 Date: Thu, 31 Oct 2019 11:43:55 +0100 Message-Id: <20191031104402.31813-1-kholk11@gmail.com> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 X-Mailman-Approved-At: Thu, 31 Oct 2019 13:00:41 +0000 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=7kyw+VrjIluOVETkrbPtQFePhVuk9mRrThavtM8H778=; b=c33HVydS3Hcq55X2NoEsiAtLP/MX+UF9BMh+RN46W8VCD73GzwJEklwd6CDGUxrIjc YKsT15/KIF/1LDiLLgRcrqKgErJuSazEGl01kWFM2/EdwFACjZU+sz5kOksindeSueFZ mjwdJDWG2hY8CTaNln7BWrSIUJcfQf0S27YXCQ91wm61etFdOqga6BILwv62K44rTBlE TciH1M6gtC/NndMakkNr9uOH702/LDxCjmAVFc8LAikwz2S9MmOPL33pP0oJnus2pqmj kYhoZ+JqmujN2YpktmS8xVI9pX2fGFW1TG5s2dUkFtWtPveGVlph/uYlMrsAaXV1LY1V RDfA== X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development <dri-devel.lists.freedesktop.org> List-Unsubscribe: <https://lists.freedesktop.org/mailman/options/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=unsubscribe> List-Archive: <https://lists.freedesktop.org/archives/dri-devel> List-Post: <mailto:dri-devel@lists.freedesktop.org> List-Help: <mailto:dri-devel-request@lists.freedesktop.org?subject=help> List-Subscribe: <https://lists.freedesktop.org/mailman/listinfo/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=subscribe> Cc: mark.rutland@arm.com, freedreno@lists.freedesktop.org, marijns95@gmail.com, jonathan@marek.ca, airlied@linux.ie, gregkh@linuxfoundation.org, dri-devel@lists.freedesktop.org, bjorn.andersson@linaro.org, robh+dt@kernel.org, tglx@linutronix.de, kholk11@gmail.com, sean@poorly.run, georgi.djakov@linaro.org Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" <dri-devel-bounces@lists.freedesktop.org> |
Series |
DRM/MSM: Add support for MSM8956 and Adreno 510
|
expand
|
From: AngeloGioacchino Del Regno <kholk11@gmail.com> This patch series enables support for MSM8956/76 and its Adreno 510 GPU on the current DRM driver. The personal aim is to upstream MSM8956 as much as possible. This code has been tested on two Sony phones featuring the Qualcomm MSM8956 SoC. Changes in v2: - MDP5: Documented tbu and tbu_rt clocks (Jeffrey) - Adreno510: - Lower case hex where required (Jordan) - Direct register writes (Jordan) - Used gpu_rmw() where required (Jordan) - No mentioning of unsupported A5xx (Jordan) - ZAP firmware exclusions not per-model (Rob) Changes in v3: - Rebased onto linux-next 20191015 - Renamed MSM8x56 references to MSM8x76 (the reason is that I am using the 8976/8x76 name for all the other drivers. Also, the 8976 and 8956 chips are equal and the only changing part is the CPU big cores count) - Splitted dt-bindings modifications as per request (Sean) Changes in v4: - Fixed io_start for the secondary dsi phy on family-b AngeloGioacchino Del Regno (7): drm/msm/mdp5: Add optional TBU and TBU_RT clocks dt-bindings: msm/mdp5: Document optional TBU and TBU_RT clocks drm/msm/mdp5: Add configuration for msm8x76 drm/msm/dsi: Add configuration for 28nm PLL on family B dt-bindings: msm/dsi: Add 28nm PLL for family B compatible drm/msm/dsi: Add configuration for 8x76 drm/msm/adreno: Add support for Adreno 510 GPU .../devicetree/bindings/display/msm/dsi.txt | 1 + .../devicetree/bindings/display/msm/mdp5.txt | 2 + drivers/gpu/drm/msm/adreno/a5xx_gpu.c | 73 +++++++++++--- drivers/gpu/drm/msm/adreno/a5xx_power.c | 7 ++ drivers/gpu/drm/msm/adreno/adreno_device.c | 15 +++ drivers/gpu/drm/msm/adreno/adreno_gpu.h | 5 + drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c | 98 +++++++++++++++++++ drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c | 10 ++ drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.h | 2 + drivers/gpu/drm/msm/dsi/dsi_cfg.c | 22 +++++ drivers/gpu/drm/msm/dsi/dsi_cfg.h | 1 + drivers/gpu/drm/msm/dsi/phy/dsi_phy.c | 2 + drivers/gpu/drm/msm/dsi/phy/dsi_phy.h | 1 + drivers/gpu/drm/msm/dsi/phy/dsi_phy_28nm.c | 18 ++++ 14 files changed, 243 insertions(+), 14 deletions(-)