Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp5647689rwr; Tue, 9 May 2023 04:39:59 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6ol9rBs0VYFETT/S4T2wSwT5f9f+/T5WGb+e2wLnjKnA4eL/iVdYY7t476YjcyyRCJL69h X-Received: by 2002:a05:6a21:920d:b0:f8:ea21:7c37 with SMTP id tl13-20020a056a21920d00b000f8ea217c37mr16089260pzb.20.1683632398909; Tue, 09 May 2023 04:39:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683632398; cv=none; d=google.com; s=arc-20160816; b=FcAcCafWTE8izQoNBMgoo20RvLw81yG27pSM385vcj3lsaQflonal4NpyVlpkbumie xwI3C0CgViwGd3wLNnUQ2k0Y042vYqw16w1i9dD3GBrgd554wmEn9ss9Ortwpj4paEGM MtD2Bv+T8va8navm3yFbmP5Aih2Y7NdwVi1tUIwdGsrUaqb3UWeh5zzhcOfLEw2ikUjv DyU7cxjCM73NYM5uSSTU+9ZB9xtAYt24eulbCaxbtf+qakjQHj5i4sX9xV9hGc2X+laJ CZdnspq+yqu+Os/VGaaxRsJGjSBZGov+dfQj4y3YlhUmwOdwobNysj1dlCnER+2BoQ+P XYrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=O+AtwPwXPZlp/x5nJkkCBaOlYDV83aySbZPDW4HW+Ks=; b=bDK88/rI7QZ8xTBr+N0NSwCViGr4PwVM0ZKMHI4JbFma/fcAe+HOGgMU3Hej170mvF 54QK19NJ1u9MtRNGSwHYO5BmjhYnd18C6JQYS5oTowD62/0n12I6ckYtpCaKqnLlITGx RQY0uESVfBUtYg5scP56/YdGSq95TVKrw6+qvYBAU95k+RhdHdU0iwKxLggmqyBWIzf5 it9FybB5KCv7HFLl5NaaHN0Wr2UiXOObYbMVEOAAuh31lxS17fpMgMr4xRY926taC1ju T4EO19QJ0zBcrLAViHhaQj/HCZpkhJqnNCtpYt37UZzAk1DKb9sDFb8R7T9cbArCYbrG YDjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HOmFRHQ2; 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 w1-20020a637b01000000b0050be7b93e73si1262792pgc.694.2023.05.09.04.39.46; Tue, 09 May 2023 04:39:58 -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=HOmFRHQ2; 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 S235480AbjEILMd (ORCPT + 99 others); Tue, 9 May 2023 07:12:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34072 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231467AbjEILM3 (ORCPT ); Tue, 9 May 2023 07:12:29 -0400 Received: from mail-yb1-xb35.google.com (mail-yb1-xb35.google.com [IPv6:2607:f8b0:4864:20::b35]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CBA96106F9 for ; Tue, 9 May 2023 04:12:20 -0700 (PDT) Received: by mail-yb1-xb35.google.com with SMTP id 3f1490d57ef6-b9e2f227640so7344459276.3 for ; Tue, 09 May 2023 04:12:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1683630740; x=1686222740; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=O+AtwPwXPZlp/x5nJkkCBaOlYDV83aySbZPDW4HW+Ks=; b=HOmFRHQ2CGgJGUmh5sxSRX/cHyAlfs0He1YcCwUGt/kvIdjXiZVz7xhA+MnwFqMURm XETqZd8VkjC55dbMw6IcaJGxixIgQL1p9+Cd4Y7GjdlyFLhAwaTVYHZrrRBQZNnY6GRa BEWFlXxrA7LQAvwKR/RwkoPq7S24CBVL/TE48aIROCvrcu0apEzL9KzyhLrvCtgTk7eU GOhZx8fpt9fn7m+Ca8mfsyrbQ5Mdteum0XLGOQAU4bm2M4bmiouLjHma1F1lrbkDhp3m 9/fmviKxf3yNj3OoB6y5dTF92i3KSYLxRHnDclg+hbFWH6QqXKutinXVcIzaw7ek7WUJ mCqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683630740; x=1686222740; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=O+AtwPwXPZlp/x5nJkkCBaOlYDV83aySbZPDW4HW+Ks=; b=Kww24kGbDZd3Z1YpT4aQVcP8ffD9VqIZyAArp2lRUGwbyVEHcnuB/Cl2l/wIUQhPol rbHhYJ20W6mqZnr/5E13Yaxe2/5QfdgM6bKPLQ0NrZWxo+tZQQevgbT/YBuzyLqWVnGz jFH5hoH7KBXbXidlW6rMpCTZ+pbjp8fTILITwVHse6H071+blSoGvvlPdgUnG0m8LC+T J8ylKRp8ZdvzEKdeN3xSgtp/zAwJhXQ9JDQiB2G1o+6H3lKO22TBxYCnPkuS8Ulp85Au HqtzlBzuR/bqK9zeFh7A+GvlPn2QT7RzTHzG/sUjL1pEJPGk5SkkcyPTz5OT4qFgmden xizA== X-Gm-Message-State: AC+VfDwD/b567M+AAWqolcRlmRpGLKbedUCYGKNjXbc40pz+Ms5QlGNm YOwJeTDWAZesK3DRnpihu9hwQlNi9rg/M32D3krI8Q== X-Received: by 2002:a25:ade5:0:b0:b99:93d5:26dd with SMTP id d37-20020a25ade5000000b00b9993d526ddmr14771104ybe.20.1683630739827; Tue, 09 May 2023 04:12:19 -0700 (PDT) MIME-Version: 1.0 References: <20230405-add-dsc-support-v2-0-1072c70e9786@quicinc.com> <20230405-add-dsc-support-v2-3-1072c70e9786@quicinc.com> <1d7ccb5f-55c2-3b3a-df97-2c17beffabfc@quicinc.com> <0aa4130d-bb37-4743-10e5-fd518276f4a2@linaro.org> In-Reply-To: From: Dmitry Baryshkov Date: Tue, 9 May 2023 14:12:08 +0300 Message-ID: Subject: Re: [PATCH v2 3/4] drm/msm/dpu: Add DPU_INTF_DATA_COMPRESS feature flag To: Marijn Suijten Cc: Jessica Zhang , Rob Clark , Abhinav Kumar , Sean Paul , David Airlie , Daniel Vetter , Konrad Dybcio , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" 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,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 Tue, 9 May 2023 at 10:00, Marijn Suijten wrote: > > On 2023-05-09 02:08:52, Dmitry Baryshkov wrote: > > On 09/05/2023 00:46, Jessica Zhang wrote: > > > > > > > > > On 5/7/2023 9:00 AM, Marijn Suijten wrote: > > >> On 2023-05-05 14:23:50, Jessica Zhang wrote: > > >>> Add DATA_COMPRESS feature flag to DPU INTF block. > > >>> > > >>> In DPU 7.x and later, DSC/DCE enablement registers have been moved from > > >>> PINGPONG to INTF. > > >>> > > >>> As core_rev (and related macros) was removed from the dpu_kms struct, > > >>> the > > >>> most straightforward way to indicate the presence of this register > > >>> would be > > >>> to have a feature flag. > > >> > > >> Irrelevant. Even though core_rev was still in mainline until recently, > > >> we always hardcoded the features in the catalog and only used core_rev > > >> to select a dpu_mdss_cfg catalog entry. There is no "if version >= X > > >> then enable feature Y" logic, this manually-enabled feature flag is the > > >> only, correct way to do it. > > > > > > Hi Marijn, > > > > > > Understood. FWIW, if we do find more register bit-level differences > > > between HW versions in the future, it might make more sense to keep the > > > HW catalog small and bring core_rev back, rather than keep adding these > > > kinds of small differences to caps. > > > > Let's see how it goes. Abhinav suggested that there might be feature > > differences inside the DPU generations (and even inside the single DPU > > major/minor combo). So I'm not sure what core_rev will bring us. > > > > Let's land the platforms which are ready (or if there is anything close > > to be submitted). > > You mean waiting for catalog changes on the list specifically, so the > DSC series as well as SM6350/SM6375? I do intend to send SM6125 now > that the INTF TE series (required for it, as well as for SM63**) seems > to be generally accepted, but have been quite busy with the DSC series > on the list as we're now unblocking many Xperia's to finally have > display! Yes, please send it, as you find time. No time pressure. > > The catalog addition is "pretty much ready", let me know if you'd like > it to be sent in prior to your cleanup. -- With best wishes Dmitry