Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp1656892rwe; Fri, 2 Sep 2022 01:12:08 -0700 (PDT) X-Google-Smtp-Source: AA6agR5J79jH6hXSb0OP2fw/o0pxWgNRY3c/GIFpwFh+rxPLos5zqLH2arqDk/yDBKZZ+CpSzP4I X-Received: by 2002:a05:6a00:850:b0:52e:d1c1:df48 with SMTP id q16-20020a056a00085000b0052ed1c1df48mr34879570pfk.75.1662106328245; Fri, 02 Sep 2022 01:12:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662106328; cv=none; d=google.com; s=arc-20160816; b=QTNjCtSGNqACIt6vbyyeytWqnUG3ehwi/5va0sm1GK1CXxpvNTKchzrLHZw+vFMfZs LGBmTu4iM1p7mIKb/YMZ4bAeF3OLi+vd5aWYNKUscM8rnZIz5j0BNbLTGSh8FKI8VbPt RDBTPBtcgfDXTmjmM4zmxR8TTV7O/8XSN0fuV4ihwRJGlP/X2Pu9jezO5wLyoNbtnDEK vXGzHyECnupVw/9mBgegMYRlQx5Xlzc3XGavqeltWjFnXspedfVhlJ4u0fFTf1yxoY3Y PqDlXNeJ8ALmOCfo+zA+5OLW21/q1Hw5ol9tYWXQ2IWtGpHMlbDAmSO+hocKwKgckYzX LYLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:references:organization:in-reply-to:subject:cc:to :from:dkim-signature; bh=ryxTvjqPtRJ1iLn6tKKvj0lZz/JErC3NEAnjqxZHNG4=; b=HXy77gUcNyT/acZx8Yg3Q3sHgEDHGVy8mZVFwyOcJJq/Z/fHFPenP90lm18itwNwjp 8Da63Qhc7q0acKw4ytpf/8Oq2AsQcQw+Kgm4MGCFdcM1w2kzcDWCxNDAHf+5aVonhG2m 4XK7/hl4Iu7aHHfieqmMTynfrmN9OP7ySc6eO45L1UrutAuo3ly6gMvaK5NAGTNUJAgf 4cmfprMtbYpH2NJVrttft855YmY6X6kN9m2Yp8/RXCTWC5kiUJJN5bAf8NOh0WcFdI2A iaslYZS7Kzon4j8EI4JdhNsB+xeqDawmXh7PgxOoJRUOgbfcXtS5FhvCd5nPRkEE561b he2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=XQMpdkzn; 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=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d17-20020a170902ced100b00170d3ae4678si1591956plg.216.2022.09.02.01.11.57; Fri, 02 Sep 2022 01:12: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; dkim=pass header.i=@intel.com header.s=Intel header.b=XQMpdkzn; 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235710AbiIBIEf (ORCPT + 99 others); Fri, 2 Sep 2022 04:04:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36154 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235703AbiIBIEd (ORCPT ); Fri, 2 Sep 2022 04:04:33 -0400 Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 921FABC13B for ; Fri, 2 Sep 2022 01:04:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1662105870; x=1693641870; h=from:to:cc:subject:in-reply-to:references:date: message-id:mime-version:content-transfer-encoding; bh=ryxTvjqPtRJ1iLn6tKKvj0lZz/JErC3NEAnjqxZHNG4=; b=XQMpdkznsS67WbHzVreIqCH8ItBdV+PTgw/xj03f9NjVd5qZcO1cfLJ1 FMhBQoh0cPIB2jOEQaOr7Bqf9hd+SxZk8LBKzsnbXOVAeWDWjBj5om7Qz xd4gw5fI9JqHjHMfSSOyTeeQQplZ/XjBQ18wHp4VHOtSStwX23gu6gDz5 q4dOh9gkQBh9/ATcjGMtAbEyZsm6QS4Cqv7j5YfOXPYBQDTP84nAeHCr3 NBTtAu0dmLpsA2kCO2h29Ee2JYpbfYt36chadnL4VVNm+gIwPlEJLWA3K PV4Z2OPJOdvjdaYUM4KL73sebsaM6JF3wzSh8cQRfADaJ7wOBV0AOcZFt g==; X-IronPort-AV: E=McAfee;i="6500,9779,10457"; a="322085961" X-IronPort-AV: E=Sophos;i="5.93,283,1654585200"; d="scan'208";a="322085961" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Sep 2022 01:04:30 -0700 X-IronPort-AV: E=Sophos;i="5.93,283,1654585200"; d="scan'208";a="674255907" Received: from svandene-mobl.ger.corp.intel.com (HELO localhost) ([10.252.55.245]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Sep 2022 01:04:25 -0700 From: Jani Nikula To: =?utf-8?Q?Ma=C3=ADra?= Canal , Maxime Ripard Cc: Isabella Basso , magalilemes00@gmail.com, tales.aparecida@gmail.com, mwen@igalia.com, andrealmeid@riseup.net, siqueirajordao@riseup.net, Trevor Woerner , Daniel Vetter , David Airlie , Javier Martinez Canillas , David Gow , brendanhiggins@google.com, Arthur Grillo , michal.winiarski@intel.com, =?utf-8?Q?Jos=C3=A9_Exp=C3=B3sito?= , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, kunit-dev@googlegroups.com Subject: Re: [PATCH v2 2/2] drm/tests: Change "igt_" prefix to "test_drm_" In-Reply-To: <04aeba53-793c-3196-3137-915f0640dc2a@riseup.net> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo References: <20220901124210.591994-1-mairacanal@riseup.net> <20220901124210.591994-2-mairacanal@riseup.net> <20220901125530.b56s4zisnkfuigvc@houat> <04aeba53-793c-3196-3137-915f0640dc2a@riseup.net> Date: Fri, 02 Sep 2022 11:04:14 +0300 Message-ID: <87h71qfbi9.fsf@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-7.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE 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 Thu, 01 Sep 2022, Ma=C3=ADra Canal wrote: > Hi Maxime, > > On 9/1/22 09:55, Maxime Ripard wrote: >> Hi, >>=20 >> On Thu, Sep 01, 2022 at 09:42:10AM -0300, Ma=C3=ADra Canal wrote: >>> With the introduction of KUnit, IGT is no longer the only option to run >>> the DRM unit tests, as the tests can be run through kunit-tool or on >>> real hardware with CONFIG_KUNIT. >>> >>> Therefore, remove the "igt_" prefix from the tests and replace it with >>> the "test_drm_" prefix, making the tests' names independent from the to= ol >>> used. >>> >>> Signed-off-by: Ma=C3=ADra Canal >>> >>> --- >>> v1 -> v2: https://lore.kernel.org/dri-devel/20220830211603.191734-1-mai= racanal@riseup.net/ >>> - Change "drm_" prefix to "test_drm_", as "drm_" can be a bit confusing= (Jani Nikula). >>=20 >> I appreciate it's a bit of a bikeshed but I disagree with this. The >> majority of the kunit tests already out there start with the framework >> name, including *all* the examples in the kunit doc. Plus, it's fairly >> obvious that it's a test, kunit is only about running tests in the first >> place. > > Would it be better to keep it as "drm_"? That's not "keeping". That's renaming igt to drm. > Currently, I don't think it is appropriate to hold the "igt_" prefix, as > the tests are not IGT exclusive, but I don't have a strong opinion on > using the "drm_" or the "test_drm" prefixes. I repeat my stance that "drm_" alone is confusing. For the reason alone that it pollutes the code tagging tools, mixing actual drm_ types and functions with unit test functions. BR, Jani. > > Best Regards, > - Ma=C3=ADra Canal > >>=20 >> Maxime >>=20 --=20 Jani Nikula, Intel Open Source Graphics Center