Message ID | 20190926105256.61412-1-kholk11@gmail.com (mailing list archive) |
---|---|
Headers | show
Return-Path: <SRS0=0e6N=XW=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 0708F1599 for <patchwork-dri-devel@patchwork.kernel.org>; Fri, 27 Sep 2019 07:41:23 +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 E341620872 for <patchwork-dri-devel@patchwork.kernel.org>; Fri, 27 Sep 2019 07:41:22 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E341620872 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 D87CB6EE88; Fri, 27 Sep 2019 07:41:09 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) by gabe.freedesktop.org (Postfix) with ESMTPS id 0BEFF6ECFF; Thu, 26 Sep 2019 10:53:21 +0000 (UTC) Received: by mail-wm1-x341.google.com with SMTP id m18so2088450wmc.1; Thu, 26 Sep 2019 03:53:21 -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=edVq6toJYtTG1F9wGfOEc0Dk1VMZscjnLagdzkANlQ4=; b=OmpVnhuQplLY8Ps+FwnKSuJg80IkB+Lu0Ux41bocNBozXIhFQbmJzh0Z/dkbvE/SEW H3VGdnmvb/hTnbOfZAHoloaLVkDVvK99mpzQ+BRvNTWItRfxADo4ETSuBGxOeTaWxf2W h97V0FHcVqwOpUEoMOygv6yDOfPFj82ry47hOWDU8IWsjxYUDZhU4Wtw4RjYa6U2bPcy cVDzjdTBP4M0jDVJSetzE6RyQf8rhJbfXaIZ8AyjgcHLUyVAIUp5jS8W6O3wslAzc8Wm RRX+4bMWcQQuZ4wmuYi4z1kE1sxGR9Pek0dsJbgxdt8WpmYIHYt7tChTBrTJ/6CQNy5n K1pQ== X-Gm-Message-State: APjAAAWWs1NooZsCI+6wjw0aPPwRZsDSE3ELJoyxoKWvAYRuQy1BH3Ji 3yOryKAYLwhbHyWOyGM6MbM= X-Google-Smtp-Source: APXvYqyUXjsRAd5bewdDGkceJIo2vtV19a4VCmE8yGuxHY0WGu2WNg/FtXqclOKryn8aOmIqfO48Ww== X-Received: by 2002:a1c:3281:: with SMTP id y123mr2382966wmy.118.1569495200278; Thu, 26 Sep 2019 03:53:20 -0700 (PDT) Received: from IcarusMOD.eternityproject.eu ([93.51.16.173]) by smtp.gmail.com with ESMTPSA id d9sm3468412wrc.44.2019.09.26.03.53.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 26 Sep 2019 03:53:19 -0700 (PDT) From: kholk11@gmail.com To: linux-arm-msm@vger.kernel.org Subject: [PATCH v2 0/5] DRM/MSM: Add support for MSM8956 and Adreno 510 Date: Thu, 26 Sep 2019 12:52:51 +0200 Message-Id: <20190926105256.61412-1-kholk11@gmail.com> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 X-Mailman-Approved-At: Fri, 27 Sep 2019 07:40:57 +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=edVq6toJYtTG1F9wGfOEc0Dk1VMZscjnLagdzkANlQ4=; b=PIu6pqs6DvVRWOC7lo0X0ctSHAZ30u/lCM4IA4tEeiLfx6xBsO7ZyZjDEYuzb1tsrO arkdPbRVfrBozBRs2QGpPLvxgHYUR1CegZeE2fqc2I5a1kZbNQy92VurQGKbS2GmlwGt /ixqttbBlYEb++l+mWbMeCa7JJCGKqW9R6CzSRjKrr1bRj4Syn5SPb8f7dra2FWkOl/f ci6HBoJ9NG8u5xq7hh+KNFty5x/TZ+V9H3+zHBCTma1KO5JYj73ukl5Y/L343zL1+uWo e5iBSxP7jKD/ugK3V/gYB0VtASWSU7pMBOLDdj7YHq6UqyC+Xc8ER/9rTA+78o+YDrz/ DX/w== 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) Angelo G. Del Regno (5): drm/msm/mdp5: Add optional TBU and TBU_RT clocks drm/msm/mdp5: Add configuration for msm8x56 drm/msm/dsi: Add configuration for 28nm PLL on family B drm/msm/dsi: Add configuration for 8x56 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 | 99 +++++++++++++++++++ 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, 244 insertions(+), 14 deletions(-)