Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Sharma, Swati2" <swati2.sharma@intel.com>
To: Bhanuprakash Modem <bhanuprakash.modem@intel.com>,
	igt-dev@lists.freedesktop.org
Subject: Re: [igt-dev] [i-g-t V2 1/7] tests/intel/pm: Rename i915_pm_backlight to kms_pm_backlight
Date: Wed, 6 Sep 2023 13:23:24 +0530	[thread overview]
Message-ID: <f4a9b8a5-ec49-b685-71e6-954e93894398@intel.com> (raw)
In-Reply-To: <20230905125356.1659246-2-bhanuprakash.modem@intel.com>

Hi Bhanu,

On 05-Sep-23 6:23 PM, Bhanuprakash Modem wrote:
> As i915_pm_backlight is a display specific test, rename it with
> the "kms_" prefix, i.e kms_pm_backlight.
> 
> V2: - Rebase
> 
> Cc: Swati Sharma <swati2.sharma@intel.com>
> Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
> ---
>   tests/intel-ci/fast-feedback.testlist         |  2 +-
>   ...i915_pm_backlight.c => kms_pm_backlight.c} | 25 ++-----------------
>   tests/meson.build                             |  2 +-
>   3 files changed, 4 insertions(+), 25 deletions(-)
>   rename tests/intel/{i915_pm_backlight.c => kms_pm_backlight.c} (87%)
> 
> diff --git a/tests/intel-ci/fast-feedback.testlist b/tests/intel-ci/fast-feedback.testlist
> index 841051058..51010a2f7 100644
> --- a/tests/intel-ci/fast-feedback.testlist
> +++ b/tests/intel-ci/fast-feedback.testlist
> @@ -118,12 +118,12 @@ igt@kms_pipe_crc_basic@nonblocking-crc
>   igt@kms_pipe_crc_basic@nonblocking-crc-frame-sequence
>   igt@kms_pipe_crc_basic@read-crc
>   igt@kms_pipe_crc_basic@read-crc-frame-sequence
> +igt@kms_pm_backlight@basic-brightness
>   igt@kms_psr@primary_page_flip
>   igt@kms_psr@cursor_plane_move
>   igt@kms_psr@sprite_plane_onoff
>   igt@kms_psr@primary_mmap_gtt
>   igt@kms_setmode@basic-clone-single-crtc
> -igt@i915_pm_backlight@basic-brightness
>   igt@i915_pm_rpm@basic-pci-d3-state
>   igt@i915_pm_rpm@basic-rte
>   igt@i915_pm_rps@basic-api
> diff --git a/tests/intel/i915_pm_backlight.c b/tests/intel/kms_pm_backlight.c
> similarity index 87%
> rename from tests/intel/i915_pm_backlight.c
> rename to tests/intel/kms_pm_backlight.c
> index 3c73b054b..eca385518 100644
> --- a/tests/intel/i915_pm_backlight.c
> +++ b/tests/intel/kms_pm_backlight.c
> @@ -1,27 +1,6 @@
> +// SPDX-License-Identifier: MIT
>   /*
> - * Copyright © 2015 Intel Corporation
> - *
> - * Permission is hereby granted, free of charge, to any person obtaining a
> - * copy of this software and associated documentation files (the "Software"),
> - * to deal in the Software without restriction, including without limitation
> - * the rights to use, copy, modify, merge, publish, distribute, sublicense,
> - * and/or sell copies of the Software, and to permit persons to whom the
> - * Software is furnished to do so, subject to the following conditions:
> - *
> - * The above copyright notice and this permission notice (including the next
> - * paragraph) shall be included in all copies or substantial portions of the
> - * Software.
> - *
> - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
> - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
> - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
> - * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
> - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
> - * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
> - * IN THE SOFTWARE.
> - *
> - * Author:
> - *    Antti Koskipaa <antti.koskipaa@linux.intel.com>
> + * Copyright © 2023 Intel Corporation
>    *
>    */

We can't remove old copyright. This has to remain same. With new IGT we 
are using SPDX, older IGT will continue using already existing copyright.

>   
> diff --git a/tests/meson.build b/tests/meson.build
> index aa8e3434c..442df7d84 100644
> --- a/tests/meson.build
> +++ b/tests/meson.build
> @@ -221,7 +221,6 @@ intel_i915_progs = [
>   	'i915_module_load',
>   	'i915_pciid',
>   	'i915_pipe_stress',
> -	'i915_pm_backlight',
>   	'i915_pm_freq_mult',
>   	'i915_pm_lpsp',
>   	'i915_pm_rpm',
> @@ -262,6 +261,7 @@ intel_kms_progs = [
>   	'kms_legacy_colorkey',
>   	'kms_mmap_write_crc',
>   	'kms_pipe_b_c_ivb',
> +	'kms_pm_backlight',
>   	'kms_psr',
>   	'kms_psr2_sf',
>   	'kms_psr2_su',

  reply	other threads:[~2023-09-06  7:53 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-05 12:53 [igt-dev] [i-g-t V2 0/7] Separate display PM tests from Core Bhanuprakash Modem
2023-09-05 12:53 ` [igt-dev] [i-g-t V2 1/7] tests/intel/pm: Rename i915_pm_backlight to kms_pm_backlight Bhanuprakash Modem
2023-09-06  7:53   ` Sharma, Swati2 [this message]
2023-09-06  9:33     ` Mauro Carvalho Chehab
2023-09-05 12:53 ` [igt-dev] [i-g-t V2 2/7] tests/intel/kms_pm_backlight: Fix testplan documentation Bhanuprakash Modem
2023-09-06  7:56   ` Sharma, Swati2
2023-09-05 12:53 ` [igt-dev] [i-g-t V2 3/7] tests/intel/pm: Rename i915_pm_dc to kms_pm_dc Bhanuprakash Modem
2023-09-06  7:59   ` Sharma, Swati2
2023-09-05 12:53 ` [igt-dev] [i-g-t V2 4/7] tests/intel/kms_pm_dc: Fix testplan documentation Bhanuprakash Modem
2023-09-06  8:07   ` Sharma, Swati2
2023-09-05 12:53 ` [igt-dev] [i-g-t V2 5/7] tests/intel/pm: Rename i915_pm_lpsp to kms_pm_lpsp Bhanuprakash Modem
2023-09-06  8:08   ` Sharma, Swati2
2023-09-05 12:53 ` [igt-dev] [i-g-t V2 6/7] tests/intel/kms_pm_lpsp: Fix testplan documentation Bhanuprakash Modem
2023-09-06  8:12   ` Sharma, Swati2
2023-09-05 12:53 ` [igt-dev] [i-g-t V2 7/7] tests/intel/pm: Separate display specific tests from i915_pm_rpm Bhanuprakash Modem
2023-09-06 13:35   ` Sharma, Swati2
2023-09-05 17:07 ` [igt-dev] ✓ Fi.CI.BAT: success for Separate display PM tests from Core (rev2) Patchwork
2023-09-05 20:26 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f4a9b8a5-ec49-b685-71e6-954e93894398@intel.com \
    --to=swati2.sharma@intel.com \
    --cc=bhanuprakash.modem@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox