Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp1930112rwb; Fri, 19 Aug 2022 11:54:44 -0700 (PDT) X-Google-Smtp-Source: AA6agR6CUgDuCqCEdhEUeL/G2PxQxIA5B+H1jQDnoXX8Bo5hk7MiS3s31tgCcEdu66GRXfataKUU X-Received: by 2002:a17:906:9bd5:b0:730:a07d:9534 with SMTP id de21-20020a1709069bd500b00730a07d9534mr5622585ejc.747.1660935284091; Fri, 19 Aug 2022 11:54:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660935284; cv=none; d=google.com; s=arc-20160816; b=AxXsZ7uuZKMp9VcwlphyuWTxACb5enXTByoq1oFcyKz38ibKBdzjwnykZ6L52/xUfx sA+/vPl5iwkDB1ah2sR7leC/MyQDCSam9dpJFP3IIpIgk8RvWwlhquxwCQSSX1owFehW 1V4TMSOrPJQnsAKH6IXI962SiwBUCmnwWMwlgstaUhOMBaB3Z9G4XPiCGfdaLN6LXLav z7rmU/QzOhjt0XA2PHjtMpa3NqoMMJ3GboNDk25piClj1CWJdZEh/6C0Vz4ig/7he1yp iV1BPpwPr/GUr6YMBdDZSlpOxK0xj099DAMstWLBPyiYW9GDIaL2V+dOhW6cpYlv4IMu UQtg== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=A/j60EG4aje7Ee2eUMKbtvaa6NlfJAHCz0dRCg1qhdc=; b=e2WHYB90ANmkmPFQqYZYr5ayRBajgd746RkacZLONtdKO1duG+8vg5Tke5bZXmPy2m j5QGfWtn8Qac2HPd2ZP5hlDYzDV/mVTjE8LIyIDMS1ZhbFkRKfCjIsWN3MwfU1MtVvp3 9M6/eiL1NkVyLsrTKc3xRvhjJSomd+ZmV0EOAqvcmEBRgfmXO9jJzoKTZjvS5xeV5Z0Q ux/IhUE+joF850uSH33DlFXn5HlNJcXbJjqC/SBsRYWT2Sq8wx5+CclQL88/3L1bta0A QwcCeMmGiBhEuTGIur6e7FedI/tUYEPtvwgvIS9/yxCQ6/1aj3m9dekrLoN7dveZ5k07 fQOA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=lH9AI9hI; 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=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nc1-20020a1709071c0100b007310123e39fsi3602651ejc.721.2022.08.19.11.54.18; Fri, 19 Aug 2022 11:54:44 -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=@collabora.com header.s=mail header.b=lH9AI9hI; 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=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349825AbiHSSnX (ORCPT + 99 others); Fri, 19 Aug 2022 14:43:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37378 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349972AbiHSSnU (ORCPT ); Fri, 19 Aug 2022 14:43:20 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5D2AE63FE for ; Fri, 19 Aug 2022 11:43:19 -0700 (PDT) Received: from notapiano (unknown [70.107.189.129]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: nfraprado) by madras.collabora.co.uk (Postfix) with ESMTPSA id 9C89A6601DC8; Fri, 19 Aug 2022 19:43:15 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1660934597; bh=ILaOGVh98GDP5+WP//VmaaaeeN+NdUHFMp8L/cMJ5N8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=lH9AI9hI05AHE6WW4SzFYv4TAgWaES0kDR13kjkSxM1QozCHO3NlvGg94EZQK0/Ml Z6r4sRJ1rHw9aSqfVYt/CDSaeLcFjjz57YkuosP4VP2WyW9tODcPE8bpewMO3ykOmC Da4DKqfgfQITTEM1iBSJviPoT21mGxtQZ26YXr93ufEUuuHP4y0tsrNJCFzbs0Z548 OWnokVbyNkXP8FAb6VhG83aZKDxeS2gnLvHjMFRw2x6cYc5T7pLupE93M9+pE1et+m 6FbAvTmED0dfwLwQ4a8kyuxRQn8wLeMT00o4D88gVHY2q6AVooxcOgZmTisbXxuh94 ZM3Mo+4wsnzSw== Date: Fri, 19 Aug 2022 14:43:11 -0400 From: =?utf-8?B?TsOtY29sYXMgRi4gUi4gQS4=?= Prado To: xinlei.lee@mediatek.com Cc: chunkuang.hu@kernel.org, p.zabel@pengutronix.de, airlied@linux.ie, daniel@ffwll.ch, matthias.bgg@gmail.com, dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Project_Global_Chrome_Upstream_Group@mediatek.com, Jitao Shi Subject: Re: [PATCH v2,2/2] drm: mediatek: Adjust the dpi output format to MT8186 Message-ID: <20220819184311.4ty3hkzfdrrdg4sd@notapiano> References: <1659693461-27057-1-git-send-email-xinlei.lee@mediatek.com> <1659693461-27057-3-git-send-email-xinlei.lee@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1659693461-27057-3-git-send-email-xinlei.lee@mediatek.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 Hi Xinlei, On Fri, Aug 05, 2022 at 05:57:41PM +0800, xinlei.lee@mediatek.com wrote: > From: Xinlei Lee > > Dpi output needs to adjust the output format to dual edge for MT8186. Could you explain a bit more why this is needed? What does this configuration do? And why is MMSYS involved in a DPI configuration? Also, is this a configuration specific to MT8186? I enabled the flag on MT8192 just to test and didn't see any difference in behavior. > > Signed-off-by: Jitao Shi If Jitao also helped in the writing of this code, then there should also be a co-developed-by tag for Jitao before the Signed-off-by [1]. [1] https://www.kernel.org/doc/html/latest/process/submitting-patches.html#when-to-use-acked-by-cc-and-co-developed-by > Signed-off-by: Xinlei Lee [..] > --- a/drivers/gpu/drm/mediatek/mtk_dpi.c > +++ b/drivers/gpu/drm/mediatek/mtk_dpi.c [..] > @@ -151,6 +154,7 @@ struct mtk_dpi_conf { > u32 yuv422_en_bit; > u32 csc_enable_bit; > u32 pixels_per_iter; > + bool rgb888_dual_enable; You're missing a description of this property in the struct's comment above: drivers/gpu/drm/mediatek/mtk_dpi.c:160: warning: Function parameter or member 'rgb888_dual_enable' not described in 'mtk_dpi_conf' Thanks, N?colas