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: 11570029 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 3B4A8913 for ; Tue, 26 May 2020 07:26:39 +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 196FE2070A for ; Tue, 26 May 2020 07:26:39 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=marek-ca.20150623.gappssmtp.com header.i=@marek-ca.20150623.gappssmtp.com header.b="wmMfYz4Q" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 196FE2070A 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 1D1A289D7D; Tue, 26 May 2020 07:26:31 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-qk1-x741.google.com (mail-qk1-x741.google.com [IPv6:2607:f8b0:4864:20::741]) by gabe.freedesktop.org (Postfix) with ESMTPS id BCD5F89CD3 for ; Tue, 26 May 2020 03:22:41 +0000 (UTC) Received: by mail-qk1-x741.google.com with SMTP id n141so6840372qke.2 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=gbjgLXfDlTz/RPCNfQa1RzyzwRGPSlLV6U12VlSbp5I5OQuzk6rgllJ2wVdikhfakC y0qlYqTlmwpTNujGOjJYH/jEey0q6Xu4TxK25V65OwoCJFATwfeH6nFG80tcYjiuZxlM 7bxjSyw+4EEDq7fD1vFBTH+lW2O+jzAk0O69iRhyRUe3ccPdODnnowx7y6u3x4wnPqr2 5F2r84Sz6MIHECDG9p4QFXjklDaBJ79+hTVLdczLl7ts96NczzvyADHsDYsACWP41IHP XeSLIDOf3o8wpLAkDRpFMHBN33KwWEXeGR5PFsnIophzcZqoNWHwS6KPYIwg0x/ylHPI VxcA== X-Gm-Message-State: AOAM532vnpyotmEsr0b35667z54jvkwi1QFM3QEy4yVjOVnxF3rrats5 Pep2xdigw3j3RTfgASPKo+3c5w== 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 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 X-Mailman-Approved-At: Tue, 26 May 2020 07:26:30 +0000 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: Shubhashree Dhar , David Airlie , "open list:DRM DRIVER FOR MSM ADRENO GPU" , Sam Ravnborg , Chandan Uddaraju , Brian Masney , "open list:DRM DRIVER FOR MSM ADRENO GPU" , Abhinav Kumar , Stephen Boyd , Jayant Shekhar , Alexios Zavras , Kalyan Thota , Thomas Gleixner , Sean Paul , Allison Randal , Raviteja Tamatam , Greg Kroah-Hartman , open list , zhengbin , Drew Davenport Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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(-)