Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1511075rwb; Wed, 14 Dec 2022 11:04:42 -0800 (PST) X-Google-Smtp-Source: AA0mqf7U5tn4ddzsR2lOebPLSg1A4caOCf9TFGztMRJNsk7FqouhyeQmNbyoisFfUgUhJ0S2xvCz X-Received: by 2002:a17:906:5a96:b0:7c1:fbea:c5ce with SMTP id l22-20020a1709065a9600b007c1fbeac5cemr4745563ejq.7.1671044682646; Wed, 14 Dec 2022 11:04:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671044682; cv=none; d=google.com; s=arc-20160816; b=sE+95Gw3mOxENki+p6cqlzX4Ou38jclql+EAbeQyDhOjyd0TkigOx/iJNJdafPo8qo xsHyUD++mERVfRviY+ofULybzUUyZRYSi7A4O34r6qRcu1m6jEqM9qbJYTSMw+2liTqy ebhk5fjw1ydakr/LCSMWDTHj1KgIzGIDwcjtslpuy8S9kFpXHiAWW1fe6HLz3OrYfHmQ ota8V+pSxPrhQaKowckvZOaOi+nDwA6rJWIr3jKLSQeMZbM0pLeVVNUl7on1BZQNdumW wOg2pQgre1F9SEMpxIyLa5FKMeW6iaD/OHEYl0v09srJYXk8ET8zsFViLbtO/7xJPb9G RkUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=6rJMrpZYZD2A/xpXae8B0oejAWRcmuy9sfR7fFaHOBc=; b=ZwLGp+yeV1SZq0h9XFbqdSyRiu7REUdWjLrOs34p+aj4OSYBuxZg/4eG1eez4OE2FS bfY/4aJ0C/OrG9cR9Sbe2Fir2pDJMlO77veXC25ZbJBWhyU3F2KsyynoBRe5GJHKiEmJ J6iU3x9mL+GnfgQW+3nYBoKtrcJJ/MxyPyL0yoJ2zCpI0ypY4b6iYQvYO/NVhVY+JWyl DcQAO3VXvJoqaANPR1hFVgrCBH2obUmOcct71mdS13OXqotftDYZjOeb7np/cmG96jbj WdZegqyD8gjEbvJWGLBrPWVzeeshgYAQogCImQ0QzEbhFXzIkiH12+xSuAfRDZbwnFXi 7+TA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QVQrCEIZ; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sc20-20020a1709078a1400b007c4fa177201si845163ejc.180.2022.12.14.11.04.24; Wed, 14 Dec 2022 11:04:42 -0800 (PST) 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=QVQrCEIZ; 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 S238983AbiLNSyK (ORCPT + 70 others); Wed, 14 Dec 2022 13:54:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59240 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238984AbiLNSxt (ORCPT ); Wed, 14 Dec 2022 13:53:49 -0500 Received: from mail-lf1-x12a.google.com (mail-lf1-x12a.google.com [IPv6:2a00:1450:4864:20::12a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7838A2A950 for ; Wed, 14 Dec 2022 10:53:48 -0800 (PST) Received: by mail-lf1-x12a.google.com with SMTP id z26so12009031lfu.8 for ; Wed, 14 Dec 2022 10:53:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=6rJMrpZYZD2A/xpXae8B0oejAWRcmuy9sfR7fFaHOBc=; b=QVQrCEIZvayjhKBW1SqgqlwaNf8PyYteWOCCf4E1q99+gQs2QJayeOl1370H60k3o3 3EaCcdL3nZuLdvqUlQOx0TjWZX67iRRGNVSY5yQEQUWCT7g+53BaMSIFnv0dEhGx5LKl zThoZ0JdxlKAxhtU+xZTknQD4h/BeoFbejEoLtSeH5yuDhTgVie5zrtKwvUl8MwU8ngw 6re8naZmhWWkl10KJSdxZ3UYnrp7PSm7Si0qEUch0vyDR7tD5imx2wtWB1UK/FVD4kGJ MXTDlCQF5xdphRE10L/a2Cdlw600HMZr+3FoI/F0aP+I3zDOWEg5BrzbeaA/kY2H8aKx DCHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=6rJMrpZYZD2A/xpXae8B0oejAWRcmuy9sfR7fFaHOBc=; b=yhgqeGsJBGuue+oRr+iDvQzUi7ctocDisoyPqSYxKbNvCxt7+bDoGMVrDodUgkq0l1 8WRGlDelhHMhQv8xASbdBshEwWHgHjGSa8MAgPjWjfTv+gyA5xqtbmPGTo9Ou3hyDmtX cn4jE8+IHMwGBm7h5DHyX+rX5qPNHyF85gpVUqIP0eyT6VJi8QG2zcmP4/LP/STOjyzT SM5V0ibkDqA1YvHyg/nNER3qbjTW9mn+w0qcAP7+//ySaph2cHJJz6ZMOPbeV31Gg5jH X03DLPLDBFPc+9qr9kXg4MhFVdfvfDeLtshbDKLpOMmeP7CHn2rSMVy0Zgt+2k3YWnnu ml+A== X-Gm-Message-State: ANoB5plfMBkxQEdl55G3XLql8JirkE3617t1nJmjWDS+3eY61UGlnokS oAsdheG/Lp3IFQFTvzTbTLPUWA== X-Received: by 2002:ac2:5201:0:b0:4b5:889c:f2cf with SMTP id a1-20020ac25201000000b004b5889cf2cfmr7321525lfl.20.1671044026895; Wed, 14 Dec 2022 10:53:46 -0800 (PST) Received: from [10.10.15.130] ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id v7-20020a056512348700b004a2511b8224sm905068lfr.103.2022.12.14.10.53.46 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 14 Dec 2022 10:53:46 -0800 (PST) Message-ID: <7d0b3010-bcb1-657e-1d7c-a66cca7ebe8e@linaro.org> Date: Wed, 14 Dec 2022 20:53:45 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.1 Subject: Re: [RFC PATCH 5/6] drm/msm/dsi: Flip greater-than check for slice_count and slice_per_intf Content-Language: en-GB To: Marijn Suijten , phone-devel@vger.kernel.org, Rob Clark , Abhinav Kumar , Vinod Koul Cc: ~postmarketos/upstreaming@lists.sr.ht, AngeloGioacchino Del Regno , Konrad Dybcio , Martin Botka , Jami Kettunen , Sean Paul , David Airlie , Daniel Vetter , Stephen Boyd , Bjorn Andersson , Jessica Zhang , =?UTF-8?B?VmlsbGUgU3lyasOkbMOk?= , Kuogee Hsieh , Jani Nikula , sunliming , Sam Ravnborg , Haowen Bai , Konrad Dybcio , Loic Poulain , Vinod Polimera , Douglas Anderson , Vladimir Lypak , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-kernel@vger.kernel.org References: <20221213232207.113607-1-marijn.suijten@somainline.org> <20221213232207.113607-6-marijn.suijten@somainline.org> From: Dmitry Baryshkov In-Reply-To: <20221213232207.113607-6-marijn.suijten@somainline.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,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: X-Mailing-List: linux-kernel@vger.kernel.org On 14/12/2022 01:22, Marijn Suijten wrote: > According to downstream /and the comment copied from it/ this comparison > should be the other way around. In other words, when the panel driver > requests to use more slices per packet than what could be sent over this > interface, it is bumped down to only use a single slice per packet (and > strangely not the number of slices that could fit on the interface). > > Fixes: 08802f515c3c ("drm/msm/dsi: Add support for DSC configuration") > --- > drivers/gpu/drm/msm/dsi/dsi_host.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) With SoB in place: Reviewed-by: Dmitry Baryshkov -- With best wishes Dmitry