summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2023-08-16tests/amdgpu: fix cs nop test when no GFX IPVitaly Prosyak1-26/+15
Some ASICs may not have GFX IP. For such ASIC the test would be skipped and the reason would be printed. Added tests descriptions. Cc: Kamil Konieczny <kamil.konieczny@linux.intel.com> Cc: Luben Tuikov <luben.tuikov@amd.com> Cc: Alex Deucher <alexander.deucher@amd.com> Cc: Christian Koenig <christian.koenig@amd.com> Signed-off-by: Vitaly Prosyak <vitaly.prosyak@amd.com> Acked-by: Christian Koenig <christian.koenig@amd.com>
2023-08-16tests/amdgpu: misc fixes for basic testsVitaly Prosyak4-70/+183
1. Some ASICs may not have GFX IP. For such ASIC the test would be skipped and the reason would be printed. Added library function asic_rings_readness and use IGT dynamic features. 2. In functions amdgpu_command_submission_const_fill_helper and amdgpu_command_submission_copy_linear_helper were missing an outer FOR loop for iterating of each ring. v2: - Split formatting code into separate patch (Kamil). v3: - Added comments and tests descriptions (Kamil). Cc: Kamil Konieczny <kamil.konieczny@linux.intel.com> Cc: Luben Tuikov <luben.tuikov@amd.com> Cc: Alex Deucher <alexander.deucher@amd.com> Cc: Christian Koenig <christian.koenig@amd.com> Signed-off-by: Vitaly Prosyak <vitaly.prosyak@amd.com> Acked-by: Christian Koenig <christian.koenig@amd.com>
2023-08-16lib/amdgpu: Formatting the codeVitaly Prosyak5-181/+114
No functional change, formatting the code to meet iGT guidelines. Cc: Kamil Konieczny@linux.intel.com <kamil.konieczny@linux.intel.com> Signed-off-by: Vitaly Prosyak <vitaly.prosyak@amd.com> Acked-by: Kamil Konieczny@linux.intel.com <kamil.konieczny@linux.intel.com>
2023-08-16testplan/kms: Make documentation is mandatory for all kms subtestsBhanuprakash Modem1-2/+2
As testplan documentation is ready for all kms tests, update the testplan config to make sure we are not missing the documentation all the kms tests. V2, V3, V4, V5: - Rebase Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com> Reviewed-by: Mauro Carvalho Chehab <mchehab@kernel.org>
2023-08-16tests/testdisplay: Document each subtest for testplanBhanuprakash Modem1-0/+14
Add documentation for all kms tests which is used by IGT testplan documentation. V2: - Fix test description V3: - Driver requirement: s/any/i915, xe/ Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com> Reviewed-by: Swati Sharma <swati2.sharma@intel.com>
2023-08-16tests/kms_writeback: Document each subtest for testplanBhanuprakash Modem1-0/+42
Add documentation for all kms tests which is used by IGT testplan documentation. V2: - Driver requirement: s/any/i915, xe/ Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com> Reviewed-by: Swati Sharma <swati2.sharma@intel.com>
2023-08-16tests/kms_vrr: Document each subtest for testplanBhanuprakash Modem1-0/+48
Add documentation for all kms tests which is used by IGT testplan documentation. V2: - Fix the functionality V3: - Driver requirement: s/any/i915, xe/ Cc: Swati Sharma <swati2.sharma@intel.com> Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com> Reviewed-by: Swati Sharma <swati2.sharma@intel.com>
2023-08-16tests/kms_vblank: Document each subtest for testplanBhanuprakash Modem1-0/+160
Add documentation for all kms tests which is used by IGT testplan documentation. V2: - Fix test documentation V3: - Driver requirement: s/any/i915, xe/ V4: - Fix test documentation Cc: Karthik B S <karthik.b.s@intel.com> Cc: Swati Sharma <swati2.sharma@intel.com> Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com> Reviewed-by: Swati Sharma <swati2.sharma@intel.com>
2023-08-16tests/kms_universal_plane: Document each subtest for testplanBhanuprakash Modem1-0/+68
Add documentation for all kms tests which is used by IGT testplan documentation. V2: - Fix test description V3: - Driver requirement: s/any/i915, xe/ Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com> Reviewed-by: Jeevan B <jeevan.b@intel.com>
2023-08-16tests/kms_tv_load_detect: Document each subtest for testplanBhanuprakash Modem1-0/+13
Add documentation for all kms tests which is used by IGT testplan documentation. V2: - Fix test description V3: - Driver requirement: s/any/i915, xe/ Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com> Reviewed-by: Swati Sharma <swati2.sharma@intel.com>
2023-08-16tests/kms_tiled_display: Document each subtest for testplanBhanuprakash Modem1-0/+25
Add documentation for all kms tests which is used by IGT testplan documentation. V2: - Fix commit line (Karthik) V3: - Driver requirement: s/any/i915, xe/ - Add "chamelium" to the functionality Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com> Reviewed-by: Karthik B S <karthik.b.s@intel.com>
2023-08-16tests/kms_sysfs_edid_timing: Document each subtest for testplanBhanuprakash Modem1-0/+17
Add documentation for all kms tests which is used by IGT testplan documentation. V2: - Fix test description V3: - Driver requirement: s/any/i915, xe/ Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com> Reviewed-by: Swati Sharma <swati2.sharma@intel.com>
2023-08-16tests/kms_setmode: Document each subtest for testplanBhanuprakash Modem1-0/+60
Add documentation for all kms tests which is used by IGT testplan documentation. V2: - Fix test description V3: - Driver requirement: s/any/i915, xe/ Cc: Jeevan B <jeevan.b@intel.com> Cc: Karthik B S <karthik.b.s@intel.com> Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com> Reviewed-by: Jeevan B <jeevan.b@intel.com>
2023-08-16tests/kms_sequence: Document each subtest for testplanBhanuprakash Modem1-0/+36
Add documentation for all kms tests which is used by IGT testplan documentation. V2: - Driver requirement: s/any/i915, xe/ Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com> Reviewed-by: Nidhi Gupta <nidhi1.gupta@intel.com>
2023-08-16tests/kms_selftest: Document each subtest for testplanBhanuprakash Modem1-0/+23
Add documentation for all kms tests which is used by IGT testplan documentation. V2: - Fix the documentation for renamed tests V3: - Driver requirement: s/any/i915, xe/ Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com> Reviewed-by: Swati Sharma <swati2.sharma@intel.com>
2023-08-16tests/kms_scaling_modes: Document each subtest for testplanBhanuprakash Modem1-0/+20
Add documentation for all kms tests which is used by IGT testplan documentation. V2: - Update functionality V3: - Driver requirement: s/any/i915, xe/ Cc: Swati Sharma <swati2.sharma@intel.com> Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com> Reviewed-by: Swati Sharma <swati2.sharma@intel.com>
2023-08-16tests/kms_rotation_crc: Document each subtest for testplanBhanuprakash Modem1-0/+133
Add documentation for all kms tests which is used by IGT testplan documentation. V2: - Add plane to the functionality V3: - Driver requirement: s/any/i915, xe/ Cc: Swati Sharma <swati2.sharma@intel.com> Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com> Reviewed-by: Swati Sharma <swati2.sharma@intel.com>
2023-08-16tests/kms_rmfb: Document each subtest for testplanBhanuprakash Modem1-0/+24
Add documentation for all kms tests which is used by IGT testplan documentation. V2: - Driver requirement: s/any/i915, xe/ Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com> Reviewed-by: Karthik B S <karthik.b.s@intel.com>
2023-08-16tests/kms_properties: Document each subtest for testplanBhanuprakash Modem1-0/+41
Add documentation for all kms tests which is used by IGT testplan documentation. V2: - Driver requirement: s/any/i915, xe/ Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com> Reviewed-by: Swati Sharma <swati2.sharma@intel.com>
2023-08-16tests/kms_prop_blob: Document each subtest for testplanBhanuprakash Modem1-2/+46
Add documentation for all kms tests which is used by IGT testplan documentation. V2: - Driver requirement: s/any/i915, xe/ - Fix run type Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com> Reviewed-by: Swati Sharma <swati2.sharma@intel.com>
2023-08-16tests/kms_prime: Document each subtest for testplanBhanuprakash Modem1-0/+35
Add documentation for all kms tests which is used by IGT testplan documentation. V2: - Driver requirement: s/any/i915, xe/ - Add "hybrid" to the functionality Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com> Reviewed-by: Karthik B S <karthik.b.s@intel.com>
2023-08-16tests/kms_plane_scaling: Document each subtest for testplanBhanuprakash Modem1-0/+262
Add documentation for all kms tests which is used by IGT testplan documentation. V2: - Fix the documentation for renamed tests V3: - Add scaling to the functionality V4: - Driver requirement: s/any/i915, xe/ Cc: Swati Sharma <swati2.sharma@intel.com> Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com> Reviewed-by: Swati Sharma <swati2.sharma@intel.com>
2023-08-16tests/kms_plane_multiple: Document each subtest for testplanBhanuprakash Modem1-0/+33
Add documentation for all kms tests which is used by IGT testplan documentation. V2: - Driver requirement: s/any/i915, xe/ Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com> Reviewed-by: Jeevan B <jeevan.b@intel.com>
2023-08-16tests/kms_plane_lowres: Document each subtest for testplanBhanuprakash Modem1-0/+32
Add documentation for all kms tests which is used by IGT testplan documentation. V2: - Driver requirement: s/any/i915, xe/ Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com> Reviewed-by: Jeevan B <jeevan.b@intel.com>
2023-08-16tests/kms_plane_cursor: Document each subtest for testplanBhanuprakash Modem1-0/+31
Add documentation for all kms tests which is used by IGT testplan documentation. V2: - Driver requirement: s/any/i915, xe/ Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com> Reviewed-by: Jeevan B <jeevan.b@intel.com>
2023-08-16tests/kms_plane_alpha_blend: Document each subtest for testplanBhanuprakash Modem1-0/+55
Add documentation for all kms tests which is used by IGT testplan documentation. V2: - Driver requirement: s/any/i915, xe/ Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com> Reviewed-by: Swati Sharma <swati2.sharma@intel.com>
2023-08-16tests/kms_plane: Document each subtest for testplanBhanuprakash Modem1-0/+74
Add documentation for all kms tests which is used by IGT testplan documentation. V2: - Driver requirement: s/any/i915, xe/ Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com> Reviewed-by: Jeevan B <jeevan.b@intel.com>
2023-08-16tests/kms_pipe_crc_basic: Document each subtest for testplanBhanuprakash Modem1-12/+38
Add documentation for all kms tests which is used by IGT testplan documentation. V2: - Add missing "Driver requirement" field V3: - Driver requirement: s/any/i915, xe/ - Run type: s/BAT/BAT, FULL/ Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com> Reviewed-by: Jeevan B <jeevan.b@intel.com>
2023-08-16tests/kms_panel_fitting: Document each subtest for testplanBhanuprakash Modem1-0/+21
Add documentation for all kms tests which is used by IGT testplan documentation. V2: - Fix the functionality V3: - Driver requirement: s/any/i915, xe/ Cc: Swati Sharma <swati2.sharma@intel.com> Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com> Reviewed-by: Swati Sharma <swati2.sharma@intel.com>
2023-08-16tests/kms_multipipe_modeset: Document each subtest for testplanBhanuprakash Modem1-0/+14
Add documentation for all kms tests which is used by IGT testplan documentation. V2: - Driver requirement: s/any/i915, xe/ Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com> Reviewed-by: Karthik B S <karthik.b.s@intel.com>
2023-08-16tests/kms_lease: Document each subtest for testplanBhanuprakash Modem1-0/+180
Add documentation for all kms tests which is used by IGT testplan documentation. V2: - Driver requirement: s/any/i915, xe/ Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com> Reviewed-by: Mohammed Thasleem <mohammed.thasleem@intel.com>
2023-08-16tests/kms_invalid_mode: Document each subtest for testplanBhanuprakash Modem1-0/+32
Add documentation for all kms tests which is used by IGT testplan documentation. V2: - Fix test description V3: - Driver requirement: s/any/i915, xe/ Cc: Swati Sharma <swati2.sharma@intel.com> Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com> Reviewed-by: Swati Sharma <swati2.sharma@intel.com>
2023-08-16tests/kms_hdr: Document each subtest for testplanBhanuprakash Modem1-0/+76
Add documentation for all kms tests which is used by IGT testplan documentation. V2: - Fix functionality V3: - Driver requirement: s/any/i915, xe/ - Mega feature: s/General Display Features/HDR/ Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com> Reviewed-by: Swati Sharma <swati2.sharma@intel.com>
2023-08-16tests/kms_hdmi_inject: Document each subtest for testplanBhanuprakash Modem1-0/+26
Add documentation for all kms tests which is used by IGT testplan documentation. V2: - Driver requirement: s/any/i915, xe/ Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com> Reviewed-by: Swati Sharma <swati2.sharma@intel.com>
2023-08-16tests/kms_getfb: Document each subtest for testplanBhanuprakash Modem1-0/+90
Add documentation for all kms tests which is used by IGT testplan documentation. V2: - Fix functionality V3: - Driver requirement: s/any/i915, xe/ Cc: Karthik B S <karthik.b.s@intel.com> Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com> Reviewed-by: Karthik B S <karthik.b.s@intel.com>
2023-08-16tests/kms_force_connector_basic: Document each subtest for testplanBhanuprakash Modem1-4/+17
Add documentation for all kms tests which is used by IGT testplan documentation. V2: - Driver requirement: s/any/i915, xe/ - Run type: s/BAT/BAT, FULL/ Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com> Reviewed-by: Kunal Joshi <kunal1.joshi@intel.com>
2023-08-16tests/kms_flip_event_leak: Document each subtest for testplanBhanuprakash Modem1-0/+17
Add documentation for all kms tests which is used by IGT testplan documentation. V2: - Fix test description V3: - Driver requirement: s/any/i915, xe/ Cc: Karthik B S <karthik.b.s@intel.com> Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com> Reviewed-by: Karthik B S <karthik.b.s@intel.com>
2023-08-16tests/kms_flip: Document each subtest for testplanBhanuprakash Modem1-5/+266
Add documentation for all kms tests which is used by IGT testplan documentation. V2: - Fix test description V3: - Driver requirement: s/any/i915, xe/ - Fix run type Cc: Karthik B S <karthik.b.s@intel.com> Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com> Reviewed-by: Karthik B S <karthik.b.s@intel.com>
2023-08-16tests/kms_dp_aux_dev: Document each subtest for testplanBhanuprakash Modem1-0/+13
Add documentation for all kms tests which is used by IGT testplan documentation. V2: - Driver requirement: s/any/i915, xe/ Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com> Reviewed-by: Kunal Joshi <kunal1.joshi@intel.com>
2023-08-16tests/kms_dither: Document each subtest for testplanBhanuprakash Modem1-0/+22
Add documentation for all kms tests which is used by IGT testplan documentation. V2: - Driver requirement: s/any/i915, xe/ Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com> Reviewed-by: Swati Sharma <swati2.sharma@intel.com>
2023-08-16tests/kms_display_modes: Document each subtest for testplanBhanuprakash Modem1-0/+25
Add documentation for all kms tests which is used by IGT testplan documentation. V2: - Add missing documentation V3: - Driver requirement: s/any/i915, xe/ Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com> Reviewed-by: Jeevan B <jeevan.b@intel.com>
2023-08-16tests/kms_cursor_legacy: Document each subtest for testplanBhanuprakash Modem1-4/+229
Add documentation for all kms tests which is used by IGT testplan documentation. V2: - Document subtest 'modeset-atomic-cursor-hotspot' V3: - Driver requirement: s/any/i915, xe/ - Fix run type Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com> Reviewed-by: Jeevan B <jeevan.b@intel.com>
2023-08-16tests/kms_cursor_edge_walk: Document each subtest for testplanBhanuprakash Modem1-0/+27
Add documentation for all kms tests which is used by IGT testplan documentation. V2: - Driver requirement: s/any/i915, xe/ Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com> Reviewed-by: Jeevan B <jeevan.b@intel.com>
2023-08-16tests/kms_cursor_crc: Document each subtest for testplanBhanuprakash Modem1-0/+79
Add documentation for all kms tests which is used by IGT testplan documentation. V2: - Driver requirement: s/any/i915, xe/ Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com> Reviewed-by: Jeevan B <jeevan.b@intel.com>
2023-08-16tests/kms_content_protection: Document each subtest for testplanBhanuprakash Modem1-0/+81
Add documentation for all kms tests which is used by IGT testplan documentation. V2: - Update functionality V3: - Driver requirement: s/any/i915, xe/ Cc: Karthik B S <karthik.b.s@intel.com> Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com> Reviewed-by: Karthik B S <karthik.b.s@intel.com>
2023-08-16tests/kms_concurrent: Document each subtest for testplanBhanuprakash Modem1-0/+26
Add documentation for all kms tests which is used by IGT testplan documentation. V2: - Driver requirement: s/any/i915, xe/ Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com> Reviewed-by: Swati Sharma <swati2.sharma@intel.com>
2023-08-16tests/kms_color: Document each subtest for testplanBhanuprakash Modem1-0/+91
Add documentation for all kms tests which is used by IGT testplan documentation. V2: - Include ctm-signed test V3: - Drop colorspace_gamma from the functionality V4: - Driver requirement: s/any/i915, xe/ Cc: Swati Sharma <swati2.sharma@intel.com> Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com> Reviewed-by: Swati Sharma <swati2.sharma@intel.com>
2023-08-16tests/kms_bw: Document each subtest for testplanBhanuprakash Modem1-0/+21
Add documentation for all kms tests which is used by IGT testplan documentation. V2: - Fix the functionality V3: - Driver requirement: s/any/i915, xe/ Cc: Swati Sharma <swati2.sharma@intel.com> Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com> Reviewed-by: Swati Sharma <swati2.sharma@intel.com>
2023-08-16tests/kms_atomic_transition: Document each subtest for testplanBhanuprakash Modem1-0/+100
Add documentation for all kms tests which is used by IGT testplan documentation. V2: - Driver requirement: s/any/i915, xe/ Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com> Reviewed-by: Nidhi Gupta <nidhi1.gupta@intel.com>
2023-08-16tests/kms_atomic_interruptible: Document each subtest for testplanBhanuprakash Modem1-0/+60
Add documentation for all kms tests which is used by IGT testplan documentation. V2: - Driver requirement: s/any/i915, xe/ Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com> Reviewed-by: Nidhi Gupta <nidhi1.gupta@intel.com>