Message ID | 20221028120812.339100-2-robert.foss@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp788132wru; Fri, 28 Oct 2022 05:09:41 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7EQ6tJEgjsGb6X0rUlSHUU+wYiz/K+O8wzKkglB4no3/ebIfCOKy9kTkdLyjetOgN+WZGm X-Received: by 2002:a17:906:30c5:b0:782:707:9e2d with SMTP id b5-20020a17090630c500b0078207079e2dmr45533270ejb.286.1666958981658; Fri, 28 Oct 2022 05:09:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666958981; cv=none; d=google.com; s=arc-20160816; b=wZx2wcwzbQUuWDL8BrZ8rs0Zwpve3BKWOy9DQhTmZlyP4KKwcgOvDDmBkQK27qUOQk 6dq5w/vAaF5IZSB4h/AK7qE8OlbAqzfbwIc3LBxWJu6gpiDMRdbaznUueS62lPYszZgK DXCWHL+4VCogv6iWzfDQ5/UletWmMv3hMF1eM/NFw8zhZ91w7km7uDMTReUJt1Oj832k EsnWFE+/osDRsrQ9RYoxJn08v40k8wR143xzsNTbOF3daOO54BsoXodc/N+mq17s0b2z 9l/Ri+24ZsdNNanQyZEFEUoBgANkg4RN3GKVljkv07HwRd9PhMAUq2JM58uDKUz5xust WqJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=+UwiNY00/B1wEnev9eGZy7ZKGi1I0cycL/iCTh2NCnA=; b=0zfBY175NV5LmcFQAS7Z/2wLStj7lZFS/h+wM3rGugYIz4yltSMwlBL8L0AbhYDKHa fpJPKdKLIKPxtfMd1aJzDYha98bCm1CM1c6Cbf8UiRp6kmJ1yhgfpukQccJfRvPNHIsn YO4MKwnW48DzJ41plwm5DOrdOZpb0Mc0s/amzpYAiiWKVhwhIB3XhSkW8YvaIcnxYRhD oEtvvRPOX7BNBmyhPms7xEBJLcHN8pFI1Np/bDOUvENMwgGZ5nusDtU13X2R7a2Rtbdp TbhUASK187VxB296Z5gi+tgjQXfbwJWnCYFR5y6bozwABccI0DtV8GAmNFahky/VZ2OH ssBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WFhXjhcB; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qw30-20020a1709066a1e00b00787aba35b7asi4538200ejc.102.2022.10.28.05.09.17; Fri, 28 Oct 2022 05:09:41 -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; dkim=pass header.i=@linaro.org header.s=google header.b=WFhXjhcB; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230256AbiJ1MI1 (ORCPT <rfc822;chrisfriedt@gmail.com> + 99 others); Fri, 28 Oct 2022 08:08:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53704 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230249AbiJ1MIW (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 28 Oct 2022 08:08:22 -0400 Received: from mail-ej1-x632.google.com (mail-ej1-x632.google.com [IPv6:2a00:1450:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E1CDE1D3C41 for <linux-kernel@vger.kernel.org>; Fri, 28 Oct 2022 05:08:21 -0700 (PDT) Received: by mail-ej1-x632.google.com with SMTP id q9so12551390ejd.0 for <linux-kernel@vger.kernel.org>; Fri, 28 Oct 2022 05:08:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=+UwiNY00/B1wEnev9eGZy7ZKGi1I0cycL/iCTh2NCnA=; b=WFhXjhcB/pX6k4XKVx6xAYZLBxEgJdoEEs9MDz3R7vvSnjTjzj3EIsZlVoBXpuvkbH GsqErhVmgMJW8jJd5lHD7vEIxvtc6IdDBL+3YkOBwCfIxSgcKnSHv22isGw3/DLmwsIT dLzxwBEZ5Xa0RPFkro0DoKSUYyw421m2IhRQvVHH9gq0eaDlBjq1vmeatdkaZRBB/IaS 9lzxb5B5mSN8jBcRUYKlA3fBlhT8y8IQOZRx/nOa+Rl+swZOxoKl0Hxr+Ldt9U0d+I18 KM3rNI90JCpcR+S016feJFLdeCkTppGDQwaxJhiFItHs822f4JE2db0Ay8m8X7d67wx8 pxrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=+UwiNY00/B1wEnev9eGZy7ZKGi1I0cycL/iCTh2NCnA=; b=NIZi7MfsVnMwINdK2aAA6mvhPz7E9j5n8x+/EEHq9ZtsfrK2v6Bm6tufMaGgCCt35t Xxf+Jpd6FSpt8Dw1GZdORB1geLGE62VWPDvsOyHi9hJAsdKfPqbG+nwAQ7LhNAtdwyYQ ARVuRQ+0TYkOjjWHUDvuIae5s/DOIzsYWAs9b3MWPgyewFb5wnQvwgVSMbJp3y90qwUD Q7d3IGMNZDwFeso3v7Y6viZcJLT02zSPaZwL4jka5mEEVMAwOgZnr8ICSMOjFDPELGB3 PI0uHFxNqeeFf03IvjJLdASdwIpSI9DRKdO24hml0WOPr/EOwqdNSIOdFoXUKLB/+2X2 7Zlg== X-Gm-Message-State: ACrzQf3oa1s/5CoQonEOtCIDRKcPdtrLS4AwBBD7X8hl+ViHDd8BBbA1 Neci+3H0RoSdbhWyf3DtPp881g== X-Received: by 2002:a17:906:db0c:b0:77b:7d7d:5805 with SMTP id xj12-20020a170906db0c00b0077b7d7d5805mr48359888ejb.726.1666958900428; Fri, 28 Oct 2022 05:08:20 -0700 (PDT) Received: from prec5560.. (freifunk-gw.bsa1-cpe1.syseleven.net. [176.74.57.43]) by smtp.gmail.com with ESMTPSA id u13-20020a170906124d00b00782e3cf7277sm2067258eja.120.2022.10.28.05.08.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Oct 2022 05:08:19 -0700 (PDT) From: Robert Foss <robert.foss@linaro.org> To: agross@kernel.org, bjorn.andersson@linaro.org, konrad.dybcio@somainline.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, robdclark@gmail.com, quic_abhinavk@quicinc.com, dmitry.baryshkov@linaro.org, sean@poorly.run, airlied@linux.ie, daniel@ffwll.ch, quic_kalyant@quicinc.com, swboyd@chromium.org, robert.foss@linaro.org, angelogioacchino.delregno@somainline.org, loic.poulain@linaro.org, quic_vpolimer@quicinc.com, vkoul@kernel.org, dianders@chromium.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, Jonathan Marek <jonathan@marek.ca>, vinod.koul@linaro.org, quic_jesszhan@quicinc.com Subject: [PATCH v1 1/9] drm/msm: Add compatibles for SM8350 display Date: Fri, 28 Oct 2022 14:08:04 +0200 Message-Id: <20221028120812.339100-2-robert.foss@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221028120812.339100-1-robert.foss@linaro.org> References: <20221028120812.339100-1-robert.foss@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747933181566138154?= X-GMAIL-MSGID: =?utf-8?q?1747933181566138154?= |
Series |
Enable Display for SM8350
|
|
Commit Message
Robert Foss
Oct. 28, 2022, 12:08 p.m. UTC
Add compatible string for "qcom,sm8350-dpu" and
"qcom,sm8350-mdss".
Signed-off-by: Robert Foss <robert.foss@linaro.org>
---
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 1 +
drivers/gpu/drm/msm/msm_mdss.c | 1 +
2 files changed, 2 insertions(+)
Comments
On 28/10/2022 15:08, Robert Foss wrote: > Add compatible string for "qcom,sm8350-dpu" and > "qcom,sm8350-mdss". > > Signed-off-by: Robert Foss <robert.foss@linaro.org> > --- > drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 1 + > drivers/gpu/drm/msm/msm_mdss.c | 1 + > 2 files changed, 2 insertions(+) Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
On 28/10/2022 15:08, Robert Foss wrote: > Add compatible string for "qcom,sm8350-dpu" and > "qcom,sm8350-mdss". > > Signed-off-by: Robert Foss <robert.foss@linaro.org> > --- > drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 1 + > drivers/gpu/drm/msm/msm_mdss.c | 1 + > 2 files changed, 2 insertions(+) [skipped] > diff --git a/drivers/gpu/drm/msm/msm_mdss.c b/drivers/gpu/drm/msm/msm_mdss.c > index e13c5c12b775..fd5a95cace16 100644 > --- a/drivers/gpu/drm/msm/msm_mdss.c > +++ b/drivers/gpu/drm/msm/msm_mdss.c > @@ -447,6 +447,7 @@ static const struct of_device_id mdss_dt_match[] = { > { .compatible = "qcom,sc8180x-mdss" }, > { .compatible = "qcom,sm8150-mdss" }, > { .compatible = "qcom,sm8250-mdss" }, > + { .compatible = "qcom,sm8350-mdss" }, > {} > }; > MODULE_DEVICE_TABLE(of, mdss_dt_match); BTW: you probably also have to update the msm_mdss_enable() function with the 8350-specific code.
On 28/10/2022 15:19, Dmitry Baryshkov wrote: > On 28/10/2022 15:08, Robert Foss wrote: >> Add compatible string for "qcom,sm8350-dpu" and >> "qcom,sm8350-mdss". >> >> Signed-off-by: Robert Foss <robert.foss@linaro.org> >> --- >> drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 1 + >> drivers/gpu/drm/msm/msm_mdss.c | 1 + >> 2 files changed, 2 insertions(+) > > [skipped] > >> diff --git a/drivers/gpu/drm/msm/msm_mdss.c >> b/drivers/gpu/drm/msm/msm_mdss.c >> index e13c5c12b775..fd5a95cace16 100644 >> --- a/drivers/gpu/drm/msm/msm_mdss.c >> +++ b/drivers/gpu/drm/msm/msm_mdss.c >> @@ -447,6 +447,7 @@ static const struct of_device_id mdss_dt_match[] = { >> { .compatible = "qcom,sc8180x-mdss" }, >> { .compatible = "qcom,sm8150-mdss" }, >> { .compatible = "qcom,sm8250-mdss" }, >> + { .compatible = "qcom,sm8350-mdss" }, >> {} >> }; >> MODULE_DEVICE_TABLE(of, mdss_dt_match); > > > BTW: you probably also have to update the msm_mdss_enable() function > with the 8350-specific code. > For mdss changes you can depend on [1], I plan to merge this patch in this window. [1] https://patchwork.freedesktop.org/patch/489578/?series=105162&rev=1 Also with the mdss changes, it would be good to split this patch into dpu and mdss parts.
diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c index 008e1420e6e5..70683dbc6b32 100644 --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c @@ -1315,6 +1315,7 @@ static const struct of_device_id dpu_dt_match[] = { { .compatible = "qcom,sc8180x-dpu", }, { .compatible = "qcom,sm8150-dpu", }, { .compatible = "qcom,sm8250-dpu", }, + { .compatible = "qcom,sm8350-dpu", }, {} }; MODULE_DEVICE_TABLE(of, dpu_dt_match); diff --git a/drivers/gpu/drm/msm/msm_mdss.c b/drivers/gpu/drm/msm/msm_mdss.c index e13c5c12b775..fd5a95cace16 100644 --- a/drivers/gpu/drm/msm/msm_mdss.c +++ b/drivers/gpu/drm/msm/msm_mdss.c @@ -447,6 +447,7 @@ static const struct of_device_id mdss_dt_match[] = { { .compatible = "qcom,sc8180x-mdss" }, { .compatible = "qcom,sm8150-mdss" }, { .compatible = "qcom,sm8250-mdss" }, + { .compatible = "qcom,sm8350-mdss" }, {} }; MODULE_DEVICE_TABLE(of, mdss_dt_match);