From patchwork Tue May 26 03:22:07 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Marek X-Patchwork-Id: 11569861 Return-Path: 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 D2D4290 for ; Tue, 26 May 2020 03:22:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B3CEF20849 for ; Tue, 26 May 2020 03:22:42 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=marek-ca.20150623.gappssmtp.com header.i=@marek-ca.20150623.gappssmtp.com header.b="wmMfYz4Q" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388497AbgEZDWm (ORCPT ); Mon, 25 May 2020 23:22:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56404 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388571AbgEZDWl (ORCPT ); Mon, 25 May 2020 23:22:41 -0400 Received: from mail-qk1-x742.google.com (mail-qk1-x742.google.com [IPv6:2607:f8b0:4864:20::742]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AC1F3C061A0E for ; Mon, 25 May 2020 20:22:41 -0700 (PDT) Received: by mail-qk1-x742.google.com with SMTP id f189so19246452qkd.5 for ; Mon, 25 May 2020 20:22:41 -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=irxvBr3fhjh3o4PcQX5WrXrjZ+soB6XClWrdckT/PEg=; b=wmMfYz4Q49KJhfEacTGOCEZGd7yE3D0nE8Xn5qM/BcmKBnqiZ6B7luz3x8cSBRfwTC 3/UZNtYoswmTXLHvaHCPwGjCMMI/nfBNbClpHanLQhJ6coFId0GsNjsICZAyGj6Ca7hY 0aQ9bcBvpbtTHKFmKmHY6lkFfbQT8C+DVZNLH7skIdJysABoMm84FnF6WUs+yYJjlBF6 5OoMApXdGII3qUGOhb6uIvuiifELzRRIun4gCUSA5CqkgUu2yiRCnb6dkPc2f6U7ZiyR T3W7w3AdU5w406o6jibD13vYtURGesBheFcXiu9WWa7YzsAB8hEJ8ZlswFmN9E2eUJe7 nDgw== 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=irxvBr3fhjh3o4PcQX5WrXrjZ+soB6XClWrdckT/PEg=; b=p35hvaVoTh1Pu5/Zj+34qWoQ2JhiHBd23SnglbmgBuTELQPrSapKMOukIg5iEylXmh Tltat8hwcB1k8RkI20IhVN3zBIzALlBBC7DlVIjzDSCjkjj6s358btm+byP39GcVoSvG 4REMvE5BoaChv7ssrp0QGqG9j/8FawefEz74EU1d0QMHq1wj63Qx0spnVQOeW0Dgmpsy FIkVZlB3Tq/uJ3dWsYd7EYOmRGta6yR0XhbGNvspVkhY0UIZVtBuF0KuyMuPaA+Ovfhq gzaYl7u+j7zpzJxJS6WU0XWzQunsGykGGVkB/wj+8xaljaw5kYcV63aclMxNGmoOoXrQ K0Hg== X-Gm-Message-State: AOAM533pHeX8wblUXDjLJJd2NW82XIdHPZAUi2gKqEtE7w/0ASpUzGll 1W3ido9WkmEIZFniqsyz1ve7QQ== X-Google-Smtp-Source: ABdhPJwcJbeZ44TzgeR1njybd+DRRmfS48J8wtcs0R4IFp7dHY9QeqGiP5i6eANoJ24H0JQXZ7BQZg== X-Received: by 2002:a37:db11:: with SMTP id e17mr28833862qki.336.1590463360740; Mon, 25 May 2020 20:22:40 -0700 (PDT) Received: from localhost.localdomain ([147.253.86.153]) by smtp.gmail.com with ESMTPSA id k20sm2530796qtu.16.2020.05.25.20.22.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 May 2020 20:22:40 -0700 (PDT) From: Jonathan Marek To: freedreno@lists.freedesktop.org Cc: Abhinav Kumar , Alexios Zavras , Allison Randal , Brian Masney , Chandan Uddaraju , Daniel Vetter , David Airlie , Drew Davenport , dri-devel@lists.freedesktop.org (open list:DRM DRIVER FOR MSM ADRENO GPU), Greg Kroah-Hartman , Jayant Shekhar , John Stultz , Kalyan Thota , Linus Walleij , linux-arm-msm@vger.kernel.org (open list:DRM DRIVER FOR MSM ADRENO GPU), linux-kernel@vger.kernel.org (open list), Raviteja Tamatam , Rob Clark , Sam Ravnborg , Sean Paul , Shubhashree Dhar , Stephen Boyd , Thomas Gleixner , zhengbin Subject: [PATCH 0/8] Initial SM8150 and SM8250 DPU bringup Date: Mon, 25 May 2020 23:22:07 -0400 Message-Id: <20200526032235.21930-1-jonathan@marek.ca> X-Mailer: git-send-email 2.26.1 MIME-Version: 1.0 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org These patches bring up SM8150 and SM8250 with basic functionality. Tested with displayport output (single mixer, video mode case). I will send patches later to add support for merge3d and dual DSI configurations, and possibly also patches to fix command mode on these SoCs (note it is also currently broken for SC7180). Jonathan Marek (8): drm/msm/dpu: use right setup_blend_config for sm8150 and sm8250 drm/msm/dpu: update UBWC config for sm8150 and sm8250 drm/msm/dpu: move some sspp caps to dpu_caps drm/msm/dpu: don't use INTF_INPUT_CTRL feature on sdm845 drm/msm/dpu: set missing flush bits for INTF_2 and INTF_3 drm/msm/dpu: intf timing path for displayport drm/msm/dpu: add SM8150 to hw catalog drm/msm/dpu: add SM8250 to hw catalog drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c | 6 - .../gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c | 287 +++++++++++++++++- .../gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h | 48 +-- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.c | 20 +- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_intf.c | 29 +- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_lm.c | 5 +- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_mdss.h | 2 + drivers/gpu/drm/msm/disp/dpu1/dpu_hw_sspp.c | 16 +- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_top.c | 18 -- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_top.h | 7 - drivers/gpu/drm/msm/disp/dpu1/dpu_mdss.c | 75 ++--- drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c | 6 +- 12 files changed, 363 insertions(+), 156 deletions(-)