Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp562026pxb; Thu, 30 Sep 2021 11:53:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwqTphIsOZNC/Ok/KPiL0DvTLT3vB8FvuWCLp5uCXpBtIhzULm5o/B8Q48F0bnYX8NsGorJ X-Received: by 2002:aa7:9d8a:0:b0:44c:86e:8ef6 with SMTP id f10-20020aa79d8a000000b0044c086e8ef6mr2054825pfq.42.1633027996051; Thu, 30 Sep 2021 11:53:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633027996; cv=none; d=google.com; s=arc-20160816; b=0NodOQpbN3Ev862OXGkR4+dXKGa1ZsprPSCBdY4Xm2LQiJJLbQPyTHt5BvNnY7+WPP ExD3PvU1igZHctFweBWVHnZGwWMakOcwqudO8CgU/ssmMYExL9SCR55VQpXw2aXohG3Y 8NY0ep7Z701HQjsLxbz2WuxEPzs+aNFJ/Qd5z17DpRUT9rxZNBD6RAThIobtNuizstzT g6yVI2ZHQqte4/5ypVVqJlGfKtzHx9LptKFhCXz2nvlYDaPt8dI+HjTOZRPLdoxv3MLT 9VSAN6mlwHQ8yFW7/KjxkFXhm55ythEeVxytYCSdrefSNTArfNbm5lPmqppIGDZunVbX qfaQ== 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=8V9lhwUnVK6Yez3PCCgzoJu42nV5+NSi4hK9S7lcaxI=; b=Ovorcolhva+tSYTKp7lwbkArFHy/G6/ojQTbBou8KafBMkMb0wmOVN5qGE65z2rIUa ZyHK2U4PHEbX8K0eVnnLbvFwKxtmDNRBfYZeozwyss+WW0buEv2Z6BDFJy0+ft2lfB3g xfXWecoF/WVam2Vy8GkoekmfT5WoiB9+XB0GDJs/NEYbb5D7Ku9qR/gLaG5bMFYOC89N kOyajm62jcjSpnCBNDiyJAAaN4om0y0ztQriHX0DYWDmqVIrkQUIHy2a0dXkel8lgD0s 4e+dMVpOsCltJB4VdZmEbdulQoCc/whzRtN+Bbo0aCPIVdW1qzC4RiqeFuBFBTzX6FZH W2JA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g7si4451141plt.123.2021.09.30.11.53.01; Thu, 30 Sep 2021 11:53:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346289AbhI3PtU (ORCPT + 99 others); Thu, 30 Sep 2021 11:49:20 -0400 Received: from mga09.intel.com ([134.134.136.24]:14013 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346273AbhI3PtT (ORCPT ); Thu, 30 Sep 2021 11:49:19 -0400 X-IronPort-AV: E=McAfee;i="6200,9189,10123"; a="225256719" X-IronPort-AV: E=Sophos;i="5.85,336,1624345200"; d="scan'208";a="225256719" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Sep 2021 08:47:36 -0700 X-IronPort-AV: E=Sophos;i="5.85,336,1624345200"; d="scan'208";a="655938105" Received: from kjepstei-mobl.amr.corp.intel.com (HELO ldmartin-desk2) ([10.212.192.243]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Sep 2021 08:47:36 -0700 Date: Thu, 30 Sep 2021 08:47:36 -0700 From: Lucas De Marchi To: Jani Nikula Cc: intel-gfx@lists.freedesktop.org, Daniel Vetter , dri-devel@lists.freedesktop.org, Masahiro Yamada , linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 1/3] drm/i915: rename IS_ACTIVE Message-ID: <20210930154736.3iunv53fko6oa6au@ldmartin-desk2> X-Patchwork-Hint: comment References: <20210929183357.1490204-1-lucas.demarchi@intel.com> <20210929183357.1490204-2-lucas.demarchi@intel.com> <87fstmuyrm.fsf@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <87fstmuyrm.fsf@intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 30, 2021 at 01:46:21PM +0300, Jani Nikula wrote: >On Wed, 29 Sep 2021, Lucas De Marchi wrote: >> It took me some time to understand the need for IS_ACTIVE and why we >> couldn't use kconfig.h. > >For anyone else wondering, the clues are in babaab2f4738 ("drm/i915: >Encapsulate kconfig constant values inside boolean predicates"). yeah, I had added that info on the third patch when I try to move the macro to kconfig.h since it would give information for kconfig developers on why the macro is being used. > >But this series tries to take it further; we currently don't have a need >for checking whether the config is defined or not. It always is. I mean >it's probably a useful feature, but not the original problem we had. yep, not trying to push hard on that direction... just tried to have the same thing the other macros on kconfig.h have. thanks Lucas De Marchi