Created attachment 125262 [details] logs for kms_pipe_color legacy-gamma-reset for pipe 0 ,1 and 2 Unfortunately I was not able to find much valuable information on the logs when this tests are executed, please let me know if more logs with different drm flags are needed and I'll gather and upload them ASAP, the log I attached has drm.debug=0xe flag on. === Software information == Kernel version: 4.7.0-rc7 with patch-revert-guc-loading-submission+ Linux distribution: Ubuntu 16.04 LTS Architecture: 64-bit xf86-video-intel version,2.99.917, Xorg-Xserver version: 1.18.99.1, DRM version: 2.4.68 Cairo version: 1.15.2 Kernel driver in use: i915 Bios revision: 144.10 KSC revision: 1.15 === Hardware information === Platform: BXT-P Motherboard model:Broxton P Motherboard type: NOTEBOOK Hand Held Motherboard manufacturer: Intel Corp. CPU family:Other, CPU information: 06/5c GPU Card: Intel Corporation Device 5a84 (rev 0a) (prog-if 00 [VGA controller]), Memory ram: 16 GB Maximum memory ram allowed: 16 GB Hard drive capacity:80.0 GB Steps: ------ Execute commands: cd <...>/intel-gpu-tools/tests # ./kms_pipe_color --run-subtest legacy-gamma-reset-pipe0 # ./kms_pipe_color --run-subtest legacy-gamma-reset-pipe1 # ./kms_pipe_color --run-subtest legacy-gamma-reset-pipe2 Actual results: ------------- Tests Fails with the following ouput: (kms_pipe_color:1407) CRITICAL: Test assertion failure function test_pipe_legacy_gamma_reset, file kms_pipe_color.c:634: (kms_pipe_color:1407) CRITICAL: Failed assertion: get_blob(data, primary->pipe, "DEGAMMA_LUT") == NULL Stack trace: #0 [__igt_fail_assert+0x101] #1 [run_tests_for_pipe+0x1d76] #2 [__real_main1158+0x59] #3 [main+0x23] #4 [__libc_start_main+0xf0] #5 [_start+0x29] #6 [<unknown>+0x29] Subtest legacy-gamma-reset-pipe0 failed. **** DEBUG **** (kms_pipe_color:1407) igt-kms-DEBUG: display: eDP-1: set_pipe(A) (kms_pipe_color:1407) igt-kms-DEBUG: display: commit { (kms_pipe_color:1407) igt-kms-DEBUG: display: eDP-1: Selecting pipe A (kms_pipe_color:1407) igt-kms-DEBUG: display: DP-2: Selecting pipe B (kms_pipe_color:1407) igt-kms-DEBUG: display: } (kms_pipe_color:1407) igt-kms-DEBUG: display: commit { (kms_pipe_color:1407) igt-kms-DEBUG: display: eDP-1: Selecting pipe A (kms_pipe_color:1407) igt-kms-DEBUG: display: DP-2: Selecting pipe B (kms_pipe_color:1407) igt-kms-DEBUG: display: } (kms_pipe_color:1407) igt-kms-DEBUG: display: commit { (kms_pipe_color:1407) igt-kms-DEBUG: display: eDP-1: Selecting pipe A (kms_pipe_color:1407) igt-kms-DEBUG: display: DP-2: Selecting pipe B (kms_pipe_color:1407) igt-kms-DEBUG: display: } (kms_pipe_color:1407) CRITICAL: Test assertion failure function test_pipe_legacy_gamma_reset, file kms_pipe_color.c:634: (kms_pipe_color:1407) CRITICAL: Failed assertion: get_blob(data, primary->pipe, "DEGAMMA_LUT") == NULL **** END **** Subtest legacy-gamma-reset-pipe0: FAIL Expected results: ----------------- Tests are marked as PASS Kernel flags: ----------------- drm.debug=0xe
With https://cgit.freedesktop.org/drm-intel/commit/?id=fa95986095e39205ea2fb5b5dafe271bca7eb8d1 landed, this is fix! \o/
(In reply to Lionel Landwerlin from comment #1) > With > https://cgit.freedesktop.org/drm-intel/commit/ > ?id=fa95986095e39205ea2fb5b5dafe271bca7eb8d1 landed, this is fix! \o/ This is correct, I ran this tests again using the below commit ( which already has the bits you shared) and tests passed, weird thing is they also pass even if I don't have 3 pipes :( However I am not sure if that is part of the acceptance criteria =================== Kernel commit ========================= commit 00c63dfd525cef1da52429d2304600c92b1805a3 Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Tue Jul 26 13:48:54 2016 +0100 drm-intel-nightly: 2016y-07m-26d-12h-47m-06s UTC integration manifest
I think the IGT figures out the number of pipes automatically. It should only tests the available pipes.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.