Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp4178120rwi; Mon, 17 Oct 2022 02:37:08 -0700 (PDT) X-Google-Smtp-Source: AMsMyM49d4Ftgbs1+xuqj3pJW7iUqcBfJsNmBfp9tQrFpKVpmlOS0Y15lnmyNkN9vahSH/bj28Tg X-Received: by 2002:a17:907:7621:b0:741:6656:bd14 with SMTP id jy1-20020a170907762100b007416656bd14mr7896914ejc.298.1665999428173; Mon, 17 Oct 2022 02:37:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665999428; cv=none; d=google.com; s=arc-20160816; b=VUeRE0cNr65e+M+EMVRP3y8U9BMJRtmOEcn5x/JPpf/K3u0VsN/jVc8EcR9LXvlK0W uDyl0lkbuZ5Aapkrbes42PWt1w287wgZMvRmS/XqbZRf68+yBOaIUeDrlZ9WGJ7FCY2x H4ihXVh/ZvlB0bQcmK7dBb6e0NuSyZCWzQl9BukVD+A46FW5nF9C54S3jnu9ZzU3BMsY XhTbTtPepB7XUFsxCgf69QWC3QNMYwyXi0A+7OquMx+pouYl8CgPmfTO3fFLaYXoop4h 7F5TxnIvgFXAI8e1LZGAgKiF3UCoGX1xhamL/T9rMnOfAbTUW4ulQtCSkvdcV1w09Ync G2jQ== 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=k+4EZl5RWnl2sWeFRY1QIM/8UE5Ej1JLcRvvYomarG8=; b=H6ENjIIxr5jfIQfSTLy4YgI9tNW1MojJsyXej2r9gT6rd0is3ZFRMYD1iZunqpID1t gs4r9itfVU7UliLyxtG+GkfgCEl58aq3WD17gWYUiyuDZXtiJUELTvSRkAgFpeKeiEvC OLpH0JBSBZTtiWTtANdOqebtdpPdoxKsfm8IbQgCdgPOmaztd3xktUooxJdZCJsBsGFf ExS3+DldGSW/Q0KogGgLHjxrVBjhhI5iisv8XgiiyfmWMxWKUB75bXUPhxOi9dD8kL2M nggZBgY5BjfqQS4L1OWEisjcnJdpLNs8juueE2r4OZts79FJuMhB3Hfz1x0VFnINI2Di 7Ycg== 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 g14-20020a056402090e00b00450c1de6234si10255468edz.587.2022.10.17.02.36.43; Mon, 17 Oct 2022 02:37:08 -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 S230361AbiJQJAk (ORCPT + 99 others); Mon, 17 Oct 2022 05:00:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55202 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230161AbiJQJAQ (ORCPT ); Mon, 17 Oct 2022 05:00:16 -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 77B6017418 for ; Mon, 17 Oct 2022 02:00:05 -0700 (PDT) Received: from SoMainline.org (D57D4C6E.static.ziggozakelijk.nl [213.125.76.110]) (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 7F1683EED4; Mon, 17 Oct 2022 11:00:01 +0200 (CEST) Date: Mon, 17 Oct 2022 10:59:44 +0200 From: Marijn Suijten To: Abhinav Kumar Cc: phone-devel@vger.kernel.org, Vinod Koul , Jami Kettunen , David Airlie , linux-arm-msm@vger.kernel.org, Vladimir Lypak , Konrad Dybcio , dri-devel@lists.freedesktop.org, Douglas Anderson , Rob Clark , Martin Botka , ~postmarketos/upstreaming@lists.sr.ht, Daniel Vetter , AngeloGioacchino Del Regno , Dmitry Baryshkov , freedreno@lists.freedesktop.org, Sean Paul , linux-kernel@vger.kernel.org, Newbyte , Caleb Connolly Subject: Re: [Freedreno] [PATCH v3 06/10] drm/msm/dsi: Migrate to drm_dsc_compute_rc_parameters() Message-ID: <20221017085944.2r24uqg73irmziqm@SoMainline.org> References: <20221009184824.457416-1-marijn.suijten@somainline.org> <20221009185058.460688-1-marijn.suijten@somainline.org> <5c178d7e-5022-f5e5-791d-d3800114b42b@quicinc.com> <20221013093646.c65mbjc6oekd7gha@SoMainline.org> <32af4444-9c88-eb0f-eda7-24fa0418aff6@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <32af4444-9c88-eb0f-eda7-24fa0418aff6@quicinc.com> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS 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 2022-10-13 09:02:44, Abhinav Kumar wrote: > On 10/13/2022 2:36 AM, Marijn Suijten wrote: > > On 2022-10-12 16:03:06, Abhinav Kumar wrote: > >> [..] > >> But I would like to hold back this change till Vinod clarifies because > >> Vinod had mentioned that with drm_dsc_compute_rc_parameters() he was > >> seeing a mismatch in the computation of two values. > >> > >> slice_bpg_offset and the final_offset. > > > > Unsurprisingly so because final_offset, and slice_bpg_offset through > > initial_offset depend directly on bits_per_pixel. The main takeaway of > > this series is that Vinod was interpreting this field as integer instead > > of containing 4 fractional bits. If he updates his the panel driver [1] > > to set bits_per_pixel = 8 << 4 instead of just 8 to account for this, > > the values should check out once again. > > > > [1]: https://git.linaro.org/people/vinod.koul/kernel.git/commit/?h=topic/pixel3_5.18-rc1&id=1d7d98ad564f1ec69e7525e07418918d90f247a1 > > > > Once Vinod (or someone else in the posession of a Pixel 3) confirms > > this, I can respin this series and more explicitly explain why the FIXME > > was put in place, instead of being resolved outright? > > > > - Marijn > > Makes perfect sense to me. > > Will just wait for Vinod's tested-by. Unfortunately Vinod doesn't have access to this device anymore, but Caleb recently sent the support series including display driver for Pixel 3 and is picking up the testing. User "Newbyte" from #linux-msm promised to test on the LG G7 to have even more input samples. - Marijn