Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp21494745rwd; Thu, 29 Jun 2023 17:27:43 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7yoDg9LPb8Zj42OdEJlWP1U6oL15qFNat2nJ/9eX1REGBL5gagdM3AXSZWsJh9ZSISixSo X-Received: by 2002:a05:6808:189e:b0:39e:7885:e2f6 with SMTP id bi30-20020a056808189e00b0039e7885e2f6mr1293004oib.24.1688084863174; Thu, 29 Jun 2023 17:27:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688084863; cv=none; d=google.com; s=arc-20160816; b=ca6yB2Tt2ttr5SZddo7beovDL9dNxQzDk86DPVsxj5cQdg7dxdAJBhzOXhmKZ++JZX ECe+n8LW3f919IHuZ6S/dXrcfQDKyZD2/idW36XuUqrKxb4jRc3Lew1xJz9kx5823iIo S/htoZK5ZBsjF8ypjBZ1nvuZgm/N8qEFjadrCui3U4pkCkJrDSAq2IadgsitfzcQcqK0 cScC4crbd488CIuE9io+rN2xgdE5fI+rvdQ2OqqQyD2DyeaNDtzMBYJJocZpQspWC+bG 9MD7BuBUqXOunDrCgptv/QxblGA9/HiuA2NRCgnJ1RW3K1H8K7YZAlDVJ5FVnyOv9bo2 vonQ== 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=P3KBEQXqn85cnemAvW8b7U5y6xDn7pfz845nnwQx15U=; fh=LpjQv8ldmmb0RIO77WSJeCGuKBAM8HSh4U5YSE/7Jvc=; b=eRE511uPOo9iP3zjgPzC/eVHR4HWy8//F3rFE3SF4ff2jGs47AIk3OE2gx/LpT27rY k/8TRY43CmOKwcWVqbUHtKciye83F/O6055gjD2RWkgi/Qc+HMyEFxgOA1Z61hQ9CWna 9gtt/Dg7vcU1vfWctfS3YBAjtZ7+lk5/xV5/iDuhApl/THn33fGptPBIg7jaqBUFo8wj YU/5mPP15nlbWQruXppukOxM2zZUp+RYgROy5yEu9CSXJelLynqzhexImNfBA57sZvDZ TFA9Igc5ch5fa2zxe5wF/0jhMaTPI7522+T8qKJmG95+bWlE7W3CKAFalBC62ff0pz/M E+oQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=mxxORMjP; 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 f38-20020a631f26000000b0053f2fc4379csi10820710pgf.391.2023.06.29.17.27.31; Thu, 29 Jun 2023 17:27:43 -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=mxxORMjP; 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 S230476AbjF3AYr (ORCPT + 99 others); Thu, 29 Jun 2023 20:24:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52184 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230036AbjF3AYo (ORCPT ); Thu, 29 Jun 2023 20:24:44 -0400 Received: from mail-lj1-x22c.google.com (mail-lj1-x22c.google.com [IPv6:2a00:1450:4864:20::22c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 11B232D62 for ; Thu, 29 Jun 2023 17:24:43 -0700 (PDT) Received: by mail-lj1-x22c.google.com with SMTP id 38308e7fff4ca-2b6a6f224a1so21056891fa.1 for ; Thu, 29 Jun 2023 17:24:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1688084681; x=1690676681; 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=P3KBEQXqn85cnemAvW8b7U5y6xDn7pfz845nnwQx15U=; b=mxxORMjPUZ5xJS/+bwWMhNWP4uVk0yW6ko9ZP81iVthje/EeavyFLacVrCOVuViJBn cb7SwgNUQ/3rZ9H30EYx8ujy4X6BK1W1DDPiOhGEmGoolvkzqNMmHDVbPEKBHD6niGTf ZWq6hF0/gk6ePZFZtu8+0oh2pdPdkg7lxNuX+BYu4yazLNo19V7vqsLsVvQ7i92A6aiI JNAR+GiX0UIQFJGi8FPq+7AXa35UzwvnLoGDzz4lvW63nSSNLQmA1YDa8v5bs05StNqX j3h6A/SblggHX20zztZ3rLUOq+Qnz2ojJxFjzeqfxSGaHFfnlLWzYW3fSLPKH4Bwe8CV FTyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688084681; x=1690676681; 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=P3KBEQXqn85cnemAvW8b7U5y6xDn7pfz845nnwQx15U=; b=Rox+9fnGY488E99MKAqsV1B+oT6VEfIDZe0+HIltzmkFvRUSeGyuj1OL4MvzQQsaIO 57nurmDzPmVDCQbdKYX0YFrCmWpR3WfYz1NjUHdsr+v58OSS10z1ORhyz0GljhiB5IPU VllrYCyz7+LsCB56KYsVnq+15SI7o0FvF640rPAXBQtxljVRIku9ae4XU52lqBsAkWUw S9WG4WJO0pca6OWWvOqacBN6dyTRvhfCb8HBOKlLTgCtKrqideiwhvlV3reGtNACtnYH v6H1wSOdlY1UH1CyqoJBzfM8dmt/JfTnshR1XHNtsO0+rjE4EtUnxgd+USZAbkp2EJbO aHog== X-Gm-Message-State: ABy/qLasWbf5O5J3WyLuI5TJT+5HIs/3yJaKGz+282JelkE7Be5pAX6C m0hvMxmoDCBmWmCMWI88e7HMlw== X-Received: by 2002:a05:6512:2097:b0:4f9:5d2a:e0f5 with SMTP id t23-20020a056512209700b004f95d2ae0f5mr923679lfr.19.1688084680908; Thu, 29 Jun 2023 17:24:40 -0700 (PDT) Received: from ?IPV6:2001:14ba:a0db:1f00::8a5? (dzdqv0yyyyyyyyyyybcwt-3.rev.dnainternet.fi. [2001:14ba:a0db:1f00::8a5]) by smtp.gmail.com with ESMTPSA id p9-20020a05651211e900b004fb7bb42de4sm1519351lfs.58.2023.06.29.17.24.40 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 29 Jun 2023 17:24:40 -0700 (PDT) Message-ID: Date: Fri, 30 Jun 2023 03:24:39 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH v3 1/3] drm/msm/dpu: re-introduce dpu core revision to the catalog Content-Language: en-GB To: Abhinav Kumar , freedreno@lists.freedesktop.org, Rob Clark , Sean Paul , Marijn Suijten , David Airlie , Daniel Vetter Cc: dri-devel@lists.freedesktop.org, quic_jesszhan@quicinc.com, andersson@kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org References: <20230629193001.22618-1-quic_abhinavk@quicinc.com> From: Dmitry Baryshkov In-Reply-To: <20230629193001.22618-1-quic_abhinavk@quicinc.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 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,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 29/06/2023 22:29, Abhinav Kumar wrote: > With [1] dpu core revision was dropped in favor of using the > compatible string from the device tree to select the dpu catalog > being used in the device. > > This approach works well however also necessitates adding catalog > entries for small register level details as dpu capabilities and/or > features bloating the catalog unnecessarily. Examples include but > are not limited to data_compress, interrupt register set, widebus etc. Generic note: this description can be moved to the cover letter, it covers the series intent. > Introduce the dpu core revision back as an entry to the catalog so that > we can just use dpu revision checks and enable those bits which > should be enabled unconditionally and not controlled by a catalog > and also simplify the changes to do something like: > > if (dpu_core_revision > xxxxx && dpu_core_revision < xxxxx) > enable the bit; > > Since dpu's major and minor versions are now separate fields, lets > drop all the DPU_HW_VER macros. > > [1]: https://patchwork.freedesktop.org/patch/530891/?series=113910&rev=4 Please use `commit aabbcc ("do this and that")' in the commit messages. > > changes in v3: > - drop DPU step version as features are not changing across steps > - add core_major_version / core_minor_version to avoid conflicts > - update the commit text to drop references to the dpu macros > > Signed-off-by: Abhinav Kumar -- With best wishes Dmitry