Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Modem, Bhanuprakash" <bhanuprakash.modem@intel.com>
To: Kamil Konieczny <kamil.konieczny@linux.intel.com>,
	igt-dev@lists.freedesktop.org, mchehab@kernel.org,
	Mauro Carvalho Chehab <mauro.chehab@linux.intel.com>
Subject: Re: [igt-dev] [i-g-t V2 01/81] tests/chamelium: Move chamelium helpers to lib
Date: Wed, 17 May 2023 19:33:08 +0530	[thread overview]
Message-ID: <d204d8a1-ac60-a42d-fd76-8365b0e78148@intel.com> (raw)
In-Reply-To: <20230517090319.virtwge6s5q6a36b@kamilkon-desk1>

Hi Kamil,

On Wed-17-05-2023 02:33 pm, Kamil Konieczny wrote:
> Hi Bhanuprakash,
> 
> On 2023-05-17 at 12:02:03 +0530, Bhanuprakash Modem wrote:
>> The correct place for helpers is lib as the tests directory is
>> supposed to have test files, also having the helpers in tests
>> dir will break the compilation of testplan. Hence move all
>> helpers to library.
>>
>> Expectation is to have an executable binary for each .c file
>> the "tests" dir.
>>
> 
> Please send these three patches 1/81, 2/ and 3/ as separate
> patchseries.

Please check my comments on coverletter (Patch[0/81]) of this series.

- Bhanu

> 
> Regards,
> Kamil
> 
>> Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
>> ---
>>   .../kms_chamelium_helper.c => lib/igt_chamelium_helper.c      | 4 ++--
>>   .../kms_chamelium_helper.h => lib/igt_chamelium_helper.h      | 0
>>   lib/meson.build                                               | 1 +
>>   tests/chamelium/kms_chamelium_audio.c                         | 2 +-
>>   tests/chamelium/kms_chamelium_edid.c                          | 2 +-
>>   tests/chamelium/kms_chamelium_frames.c                        | 2 +-
>>   tests/chamelium/kms_chamelium_hpd.c                           | 2 +-
>>   tests/meson.build                                             | 3 +--
>>   8 files changed, 8 insertions(+), 8 deletions(-)
>>   rename tests/chamelium/kms_chamelium_helper.c => lib/igt_chamelium_helper.c (99%)
>>   rename tests/chamelium/kms_chamelium_helper.h => lib/igt_chamelium_helper.h (100%)
>>
>> diff --git a/tests/chamelium/kms_chamelium_helper.c b/lib/igt_chamelium_helper.c
>> similarity index 99%
>> rename from tests/chamelium/kms_chamelium_helper.c
>> rename to lib/igt_chamelium_helper.c
>> index 197d29be9..3c1a802d3 100644
>> --- a/tests/chamelium/kms_chamelium_helper.c
>> +++ b/lib/igt_chamelium_helper.c
>> @@ -25,7 +25,7 @@
>>    */
>>   
>>   #include "igt_edid.h"
>> -#include "kms_chamelium_helper.h"
>> +#include "igt_chamelium_helper.h"
>>   
>>   void chamelium_init_test(chamelium_data_t *data)
>>   {
>> @@ -344,4 +344,4 @@ bool chamelium_check_analog_bridge(chamelium_data_t *data,
>>   		return true;
>>   
>>   	return false;
>> -}
>> \ No newline at end of file
>> +}
>> diff --git a/tests/chamelium/kms_chamelium_helper.h b/lib/igt_chamelium_helper.h
>> similarity index 100%
>> rename from tests/chamelium/kms_chamelium_helper.h
>> rename to lib/igt_chamelium_helper.h
>> diff --git a/lib/meson.build b/lib/meson.build
>> index 85f100f75..2d3456577 100644
>> --- a/lib/meson.build
>> +++ b/lib/meson.build
>> @@ -17,6 +17,7 @@ lib_sources = [
>>   	'i915/intel_cmds_info.c',
>>   	'i915/i915_blt.c',
>>   	'i915/i915_crc.c',
>> +	'igt_chamelium_helper.c',
>>   	'igt_collection.c',
>>   	'igt_color_encoding.c',
>>   	'igt_crc.c',
>> diff --git a/tests/chamelium/kms_chamelium_audio.c b/tests/chamelium/kms_chamelium_audio.c
>> index 6c6177fc5..a4204fbb6 100644
>> --- a/tests/chamelium/kms_chamelium_audio.c
>> +++ b/tests/chamelium/kms_chamelium_audio.c
>> @@ -26,7 +26,7 @@
>>   
>>   #include "igt_eld.h"
>>   #include "igt_infoframe.h"
>> -#include "kms_chamelium_helper.h"
>> +#include "igt_chamelium_helper.h"
>>   
>>   /* Playback parameters control the audio signal we synthesize and send */
>>   #define PLAYBACK_CHANNELS 2
>> diff --git a/tests/chamelium/kms_chamelium_edid.c b/tests/chamelium/kms_chamelium_edid.c
>> index 4a52e6922..fc78d4a07 100644
>> --- a/tests/chamelium/kms_chamelium_edid.c
>> +++ b/tests/chamelium/kms_chamelium_edid.c
>> @@ -42,7 +42,7 @@
>>   #include "igt_eld.h"
>>   #include "igt_vc4.h"
>>   #include "igt_infoframe.h"
>> -#include "kms_chamelium_helper.h"
>> +#include "igt_chamelium_helper.h"
>>   #include "monitor_edids/dp_edids.h"
>>   #include "monitor_edids/hdmi_edids.h"
>>   #include "monitor_edids/monitor_edids_helper.h"
>> diff --git a/tests/chamelium/kms_chamelium_frames.c b/tests/chamelium/kms_chamelium_frames.c
>> index 22a7ba936..2d90b45b2 100644
>> --- a/tests/chamelium/kms_chamelium_frames.c
>> +++ b/tests/chamelium/kms_chamelium_frames.c
>> @@ -31,7 +31,7 @@
>>   
>>   #include "igt_eld.h"
>>   #include "igt_infoframe.h"
>> -#include "kms_chamelium_helper.h"
>> +#include "igt_chamelium_helper.h"
>>   
>>   #define connector_dynamic_subtest(name__, type__)                   \
>>   	igt_subtest_with_dynamic(name__)                            \
>> diff --git a/tests/chamelium/kms_chamelium_hpd.c b/tests/chamelium/kms_chamelium_hpd.c
>> index efd40ba54..ea0ee10e7 100644
>> --- a/tests/chamelium/kms_chamelium_hpd.c
>> +++ b/tests/chamelium/kms_chamelium_hpd.c
>> @@ -29,7 +29,7 @@
>>    * Category: Display
>>    */
>>   
>> -#include "kms_chamelium_helper.h"
>> +#include "igt_chamelium_helper.h"
>>   
>>   #define HPD_STORM_PULSE_INTERVAL_DP 100 /* ms */
>>   #define HPD_STORM_PULSE_INTERVAL_HDMI 200 /* ms */
>> diff --git a/tests/meson.build b/tests/meson.build
>> index 38f080f7c..d5f0f54c1 100644
>> --- a/tests/meson.build
>> +++ b/tests/meson.build
>> @@ -342,8 +342,7 @@ endforeach
>>   if chamelium.found()
>>   	foreach prog : chamelium_progs
>>   		test_executables += executable(prog,
>> -				 [join_paths('chamelium', prog + '.c'),
>> -					join_paths('chamelium', 'kms_chamelium_helper.c')],
>> +				 join_paths('chamelium', prog + '.c'),
>>   				 dependencies : test_deps,
>>   				 install_dir : libexecdir,
>>   				 install_rpath : libexecdir_rpathdir,
>> -- 
>> 2.40.0
>>


  reply	other threads:[~2023-05-17 14:08 UTC|newest]

Thread overview: 94+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-17  6:32 [igt-dev] [i-g-t V2 00/81] Document KMS tests Bhanuprakash Modem
2023-05-17  6:32 ` [igt-dev] [i-g-t V2 01/81] tests/chamelium: Move chamelium helpers to lib Bhanuprakash Modem
2023-05-17  9:03   ` Kamil Konieczny
2023-05-17 14:03     ` Modem, Bhanuprakash [this message]
2023-05-17  6:32 ` [igt-dev] [i-g-t V2 02/81] tests/dsc: Move dsc " Bhanuprakash Modem
2023-05-17  6:32 ` [igt-dev] [i-g-t V2 03/81] tests/color: Move color " Bhanuprakash Modem
2023-05-17  6:32 ` [igt-dev] [i-g-t V2 04/81] testplan/kms: Include testdisplay to kms testplan config Bhanuprakash Modem
2023-05-17  6:32 ` [igt-dev] [i-g-t V2 05/81] testplan/kms: Add support to differentiate b/w drivers Bhanuprakash Modem
2023-05-17  6:32 ` [igt-dev] [i-g-t V2 06/81] tests/chamelium/kms_chamelium_audio: Document each subtest for testplan Bhanuprakash Modem
2023-05-17  6:32 ` [igt-dev] [i-g-t V2 07/81] tests/chamelium/kms_chamelium_color: " Bhanuprakash Modem
2023-05-17  6:32 ` [igt-dev] [i-g-t V2 08/81] tests/chamelium/kms_chamelium_edid: " Bhanuprakash Modem
2023-05-17  6:32 ` [igt-dev] [i-g-t V2 09/81] tests/chamelium/kms_chamelium_frames: " Bhanuprakash Modem
2023-05-17  6:32 ` [igt-dev] [i-g-t V2 10/81] tests/chamelium/kms_chamelium_hpd: " Bhanuprakash Modem
2023-05-17  6:32 ` [igt-dev] [i-g-t V2 11/81] tests/i915/kms_big_fb: " Bhanuprakash Modem
2023-05-17  6:32 ` [igt-dev] [i-g-t V2 12/81] tests/i915/kms_big_joiner: " Bhanuprakash Modem
2023-05-17  6:32 ` [igt-dev] [i-g-t V2 13/81] tests/i915/kms_busy: " Bhanuprakash Modem
2023-05-17  6:32 ` [igt-dev] [i-g-t V2 14/81] tests/i915/kms_ccs: " Bhanuprakash Modem
2023-05-17  6:32 ` [igt-dev] [i-g-t V2 15/81] tests/i915/kms_cdclk: " Bhanuprakash Modem
2023-05-17  6:32 ` [igt-dev] [i-g-t V2 16/81] tests/i915/kms_draw_crc: " Bhanuprakash Modem
2023-05-17  6:32 ` [igt-dev] [i-g-t V2 17/81] tests/i915/kms_dsc: " Bhanuprakash Modem
2023-05-17  6:32 ` [igt-dev] [i-g-t V2 18/81] tests/i915/kms_fbcon_fbt: " Bhanuprakash Modem
2023-05-17  6:32 ` [igt-dev] [i-g-t V2 19/81] tests/i915/kms_fence_pin_leak: " Bhanuprakash Modem
2023-05-17  6:32 ` [igt-dev] [i-g-t V2 20/81] tests/i915/kms_flip_scaled_crc: " Bhanuprakash Modem
2023-05-17  6:32 ` [igt-dev] [i-g-t V2 21/81] tests/i915/kms_flip_tiling: " Bhanuprakash Modem
2023-05-17  6:32 ` [igt-dev] [i-g-t V2 22/81] tests/i915/kms_frontbuffer_tracking: " Bhanuprakash Modem
2023-05-17  6:32 ` [igt-dev] [i-g-t V2 23/81] tests/i915/kms_legacy_colorkey: " Bhanuprakash Modem
2023-05-17  6:32 ` [igt-dev] [i-g-t V2 24/81] tests/i915/kms_mmap_write_crc: " Bhanuprakash Modem
2023-05-17  6:32 ` [igt-dev] [i-g-t V2 25/81] tests/i915/kms_pipe_b_c_ivb: " Bhanuprakash Modem
2023-05-17  6:32 ` [igt-dev] [i-g-t V2 26/81] tests/i915/kms_psr: " Bhanuprakash Modem
2023-05-17  6:32 ` [igt-dev] [i-g-t V2 27/81] tests/i915/kms_psr2_sf: " Bhanuprakash Modem
2023-05-17  6:32 ` [igt-dev] [i-g-t V2 28/81] tests/i915/kms_psr2_su: " Bhanuprakash Modem
2023-05-17  6:32 ` [igt-dev] [i-g-t V2 29/81] tests/i915/kms_psr_stress_test: " Bhanuprakash Modem
2023-05-17  6:32 ` [igt-dev] [i-g-t V2 30/81] tests/i915/kms_pwrite_crc: " Bhanuprakash Modem
2023-05-17  6:32 ` [igt-dev] [i-g-t V2 31/81] tests/kms_3d: " Bhanuprakash Modem
2023-05-17  6:32 ` [igt-dev] [i-g-t V2 32/81] tests/kms_addfb_basic: " Bhanuprakash Modem
2023-05-17  6:32 ` [igt-dev] [i-g-t V2 33/81] tests/kms_async_flips: " Bhanuprakash Modem
2023-05-17  6:32 ` [igt-dev] [i-g-t V2 34/81] tests/kms_atomic: " Bhanuprakash Modem
2023-05-17  6:32 ` [igt-dev] [i-g-t V2 35/81] tests/kms_atomic_interruptible: " Bhanuprakash Modem
2023-05-17  6:32 ` [igt-dev] [i-g-t V2 36/81] tests/kms_atomic_transition: " Bhanuprakash Modem
2023-05-17  6:32 ` [igt-dev] [i-g-t V2 37/81] tests/kms_bw: " Bhanuprakash Modem
2023-05-17  6:32 ` [igt-dev] [i-g-t V2 38/81] tests/kms_color: " Bhanuprakash Modem
2023-05-17  6:32 ` [igt-dev] [i-g-t V2 39/81] tests/kms_concurrent: " Bhanuprakash Modem
2023-05-17  6:32 ` [igt-dev] [i-g-t V2 40/81] tests/kms_content_protection: " Bhanuprakash Modem
2023-05-17  6:32 ` [igt-dev] [i-g-t V2 41/81] tests/kms_cursor_crc: " Bhanuprakash Modem
2023-05-17  6:32 ` [igt-dev] [i-g-t V2 42/81] tests/kms_cursor_edge_walk: " Bhanuprakash Modem
2023-05-17  6:32 ` [igt-dev] [i-g-t V2 43/81] tests/kms_cursor_legacy: " Bhanuprakash Modem
2023-05-17  6:32 ` [igt-dev] [i-g-t V2 44/81] tests/kms_display_modes: " Bhanuprakash Modem
2023-05-17  6:32 ` [igt-dev] [i-g-t V2 45/81] tests/kms_dither: " Bhanuprakash Modem
2023-05-17  6:32 ` [igt-dev] [i-g-t V2 46/81] tests/kms_dp_aux_dev: " Bhanuprakash Modem
2023-05-17  6:32 ` [igt-dev] [i-g-t V2 47/81] tests/kms_dp_tiled_display: " Bhanuprakash Modem
2023-05-17  6:32 ` [igt-dev] [i-g-t V2 48/81] tests/kms_flip: " Bhanuprakash Modem
2023-05-17  6:32 ` [igt-dev] [i-g-t V2 49/81] tests/kms_flip_event_leak: " Bhanuprakash Modem
2023-05-17  6:32 ` [igt-dev] [i-g-t V2 50/81] tests/kms_force_connector_basic: " Bhanuprakash Modem
2023-05-17  6:32 ` [igt-dev] [i-g-t V2 51/81] tests/kms_getfb: " Bhanuprakash Modem
2023-05-17  6:32 ` [igt-dev] [i-g-t V2 52/81] tests/kms_hdmi_inject: " Bhanuprakash Modem
2023-05-17  6:32 ` [igt-dev] [i-g-t V2 53/81] tests/kms_hdr: " Bhanuprakash Modem
2023-05-17  6:32 ` [igt-dev] [i-g-t V2 54/81] tests/kms_invalid_mode: " Bhanuprakash Modem
2023-05-17  6:32 ` [igt-dev] [i-g-t V2 55/81] tests/kms_lease: " Bhanuprakash Modem
2023-05-17  6:32 ` [igt-dev] [i-g-t V2 56/81] tests/kms_multipipe_modeset: " Bhanuprakash Modem
2023-05-17  6:32 ` [igt-dev] [i-g-t V2 57/81] tests/kms_panel_fitting: " Bhanuprakash Modem
2023-05-17  6:33 ` [igt-dev] [i-g-t V2 58/81] tests/kms_pipe_crc_basic: " Bhanuprakash Modem
2023-05-17  6:33 ` [igt-dev] [i-g-t V2 59/81] tests/kms_plane: " Bhanuprakash Modem
2023-05-17  6:33 ` [igt-dev] [i-g-t V2 60/81] tests/kms_plane_alpha_blend: " Bhanuprakash Modem
2023-05-17  6:33 ` [igt-dev] [i-g-t V2 61/81] tests/kms_plane_cursor: " Bhanuprakash Modem
2023-05-17  6:33 ` [igt-dev] [i-g-t V2 62/81] tests/kms_plane_lowres: " Bhanuprakash Modem
2023-05-17  6:33 ` [igt-dev] [i-g-t V2 63/81] tests/kms_plane_multiple: " Bhanuprakash Modem
2023-05-17  6:33 ` [igt-dev] [i-g-t V2 64/81] tests/kms_plane_scaling: " Bhanuprakash Modem
2023-05-17  6:33 ` [igt-dev] [i-g-t V2 65/81] tests/kms_prime: " Bhanuprakash Modem
2023-05-17  6:33 ` [igt-dev] [i-g-t V2 66/81] tests/kms_prop_blob: " Bhanuprakash Modem
2023-05-17  6:33 ` [igt-dev] [i-g-t V2 67/81] tests/kms_properties: " Bhanuprakash Modem
2023-05-17  6:33 ` [igt-dev] [i-g-t V2 68/81] tests/kms_rmfb: " Bhanuprakash Modem
2023-05-17  6:33 ` [igt-dev] [i-g-t V2 69/81] tests/kms_rotation_crc: " Bhanuprakash Modem
2023-05-17  6:33 ` [igt-dev] [i-g-t V2 70/81] tests/kms_scaling_modes: " Bhanuprakash Modem
2023-05-17  6:33 ` [igt-dev] [i-g-t V2 71/81] tests/kms_selftest: " Bhanuprakash Modem
2023-05-17  6:33 ` [igt-dev] [i-g-t V2 72/81] tests/kms_sequence: " Bhanuprakash Modem
2023-05-17  6:33 ` [igt-dev] [i-g-t V2 73/81] tests/kms_setmode: " Bhanuprakash Modem
2023-05-17  6:33 ` [igt-dev] [i-g-t V2 74/81] tests/kms_sysfs_edid_timing: " Bhanuprakash Modem
2023-05-17  6:33 ` [igt-dev] [i-g-t V2 75/81] tests/kms_tv_load_detect: " Bhanuprakash Modem
2023-05-17  6:33 ` [igt-dev] [i-g-t V2 76/81] tests/kms_universal_plane: " Bhanuprakash Modem
2023-05-17  6:33 ` [igt-dev] [i-g-t V2 77/81] tests/kms_vblank: " Bhanuprakash Modem
2023-05-17  6:33 ` [igt-dev] [i-g-t V2 78/81] tests/kms_vrr: " Bhanuprakash Modem
2023-05-17  6:33 ` [igt-dev] [i-g-t V2 79/81] tests/kms_writeback: " Bhanuprakash Modem
2023-05-17  6:33 ` [igt-dev] [i-g-t V2 80/81] tests/testdisplay: " Bhanuprakash Modem
2023-05-17  6:33 ` [igt-dev] [i-g-t V2 81/81] testplan/kms: Make documentation is mandatory for all kms subtests Bhanuprakash Modem
2023-05-17 15:51   ` [igt-dev] [i-g-t V4 " Bhanuprakash Modem
2023-08-14  9:57     ` Mauro Carvalho Chehab
2023-05-17  7:20 ` [igt-dev] ✗ GitLab.Pipeline: warning for Document KMS tests (rev8) Patchwork
2023-05-17  7:46 ` [igt-dev] ✓ Fi.CI.BAT: success " Patchwork
2023-05-17 10:36 ` [igt-dev] [i-g-t V2 00/81] Document KMS tests Kamil Konieczny
2023-05-17 14:00   ` Modem, Bhanuprakash
2023-05-17 16:47 ` [igt-dev] ✓ Fi.CI.IGT: success for Document KMS tests (rev8) Patchwork
2023-05-17 16:57 ` [igt-dev] ✗ GitLab.Pipeline: warning for Document KMS tests (rev9) Patchwork
2023-05-17 17:17 ` [igt-dev] ✓ Fi.CI.BAT: success " Patchwork
2023-05-18  5:51 ` [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=d204d8a1-ac60-a42d-fd76-8365b0e78148@intel.com \
    --to=bhanuprakash.modem@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=kamil.konieczny@linux.intel.com \
    --cc=mauro.chehab@linux.intel.com \
    --cc=mchehab@kernel.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