Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2572689rwd; Wed, 14 Jun 2023 04:58:01 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ44O1fZGAvdLMds0u/9sGLhj+wLD9n4M0iIq1YZneRFUDNVxc8AUK4FcMRNR/cCdNP+t8CY X-Received: by 2002:a17:907:a40f:b0:973:9c54:5723 with SMTP id sg15-20020a170907a40f00b009739c545723mr16226810ejc.2.1686743880859; Wed, 14 Jun 2023 04:58:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686743880; cv=none; d=google.com; s=arc-20160816; b=v6jj1vbcT7XTqgMdOVhVBJccNTHA215cZu+IFUf2yNWtitKVNxczgRb+Od6MspMXxW yuvLcyafhrqHclX0QJvPM4kdH8ZYWl6Z5UwZIwix8nNGKcwVyAxmkP0m6j9nMlnQUGMh ThNCW2XSTtL9c+mMh38AMfmN2VwAU+e9AuSIj3LDovY44ES8Gt7CwjM7S771nys0yw1H Lkp+4NRfvvxXkV1kpECZkrmFYBIHdvPWDfgGu0ZABYHFUyQO+mdw/UbXn185BLyoCb4F /q7txga3PcgZ7dqFh5czTGjdqqsCWLckebmGu+qjmwaHvmFRy9xUVrr843VsmsWTv3pN XbFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=dwd4bTeAk3Yh6oGZNkmlTze5O7cZtNbpAIUfDr05Igw=; b=vsY90+ekedKSb3dmgyuUqIcZDrD2Bp+YhT8jRtsdIE1Y0liURTHx2axUUlfm5v5IZu wigu4V53PONFle19llJWICFJa+OivnFAuREUr2whQd4rq6+byavWnMnqqdbtrGEb4Fey Ky3ShcMlsVmM4jbSlGU8YMzFHBke1sgZyp9JK8N1+0d8s+LcV/bxWYvZfl24FRKoJKGp HuuSrWrged1sFsSZUHagYtf5kZclTZqTI+oPDEiG8ATgGjczNCDxgTiIrVGs7r0Udia8 ZwZADdIIpS/pKwFqHnqxNPW3pl9zZ19Vd0Pl5A9POdbQNPZtCPpl8hexwTPb7z5s9LM4 0ogQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s2-20020a1709064d8200b0098287cbf427si160236eju.934.2023.06.14.04.57.35; Wed, 14 Jun 2023 04:58:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244240AbjFNLnM (ORCPT + 99 others); Wed, 14 Jun 2023 07:43:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55834 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244263AbjFNLm5 (ORCPT ); Wed, 14 Jun 2023 07:42:57 -0400 Received: from relay07.th.seeweb.it (relay07.th.seeweb.it [IPv6:2001:4b7a:2000:18::168]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2E6A013E; Wed, 14 Jun 2023 04:42:45 -0700 (PDT) Received: from SoMainline.org (94-211-6-86.cable.dynamic.v4.ziggo.nl [94.211.6.86]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by m-r2.th.seeweb.it (Postfix) with ESMTPSA id 198DC3F7C0; Wed, 14 Jun 2023 13:42:43 +0200 (CEST) Date: Wed, 14 Jun 2023 13:42:41 +0200 From: Marijn Suijten To: Jessica Zhang Cc: Rob Clark , Dmitry Baryshkov , Sean Paul , David Airlie , Daniel Vetter , quic_abhinavk@quicinc.com, linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/3] drm/msm/dpu: Add DPU_INTF_DATABUS_WIDEN feature flag for DPU >= 5.0 Message-ID: References: <20230525-add-widebus-support-v1-0-c7069f2efca1@quicinc.com> <20230525-add-widebus-support-v1-1-c7069f2efca1@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230525-add-widebus-support-v1-1-c7069f2efca1@quicinc.com> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2023-06-13 18:57:11, Jessica Zhang wrote: > DPU 5.x+ supports a databus widen mode that allows more data to be sent > per pclk. Enable this feature flag on all relevant chipsets. > > Signed-off-by: Jessica Zhang > --- > drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c | 3 ++- > drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h | 2 ++ > 2 files changed, 4 insertions(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c > index 36ba3f58dcdf..0be7bf0bfc41 100644 > --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c > +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c > @@ -103,7 +103,8 @@ > (BIT(DPU_INTF_INPUT_CTRL) | \ > BIT(DPU_INTF_TE) | \ > BIT(DPU_INTF_STATUS_SUPPORTED) | \ > - BIT(DPU_DATA_HCTL_EN)) > + BIT(DPU_DATA_HCTL_EN) | \ > + BIT(DPU_INTF_DATABUS_WIDEN)) This doesn't work. DPU 5.0.0 is SM8150, which has DSI 6G 2.3. In the last patch for DSI you state and enable widebus for DSI 6G 2.5+ only, meaning DPU and DSI are now desynced, and the output is completely corrupted. Is the bound in dsi_host wrong, or do DPU and DSI need to communicate when widebus will be enabled, based on DPU && DSI supporting it? - Marijn > #define INTF_SC7280_MASK (INTF_SC7180_MASK | BIT(DPU_INTF_DATA_COMPRESS)) > > diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h > index b860784ade72..b9939e00f5e0 100644 > --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h > +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h > @@ -182,6 +182,7 @@ enum { > * than video timing > * @DPU_INTF_STATUS_SUPPORTED INTF block has INTF_STATUS register > * @DPU_INTF_DATA_COMPRESS INTF block has DATA_COMPRESS register > + * @DPU_INTF_DATABUS_WIDEN INTF block has DATABUS_WIDEN register > * @DPU_INTF_MAX > */ > enum { > @@ -190,6 +191,7 @@ enum { > DPU_DATA_HCTL_EN, > DPU_INTF_STATUS_SUPPORTED, > DPU_INTF_DATA_COMPRESS, > + DPU_INTF_DATABUS_WIDEN, > DPU_INTF_MAX > }; > > > -- > 2.40.1 >