Created attachment 130346 [details] dmesg_dpms.log Hardware information GLK ============================================ CPU Name : Genuine Intel(R) CPU @ 1.10GHz (family: 6, model: 122) 4 cores Graphic: Intel Corporation Device 3184 (rev 01) prog-if 00 VGA controller RVP SKU : GLK RVP1 SOC : GML A1 Soc Kernel version : 4.10.0-0a03ea9 libdrm-2.4.74-25-g44f220a cairo 1.15.4-4-gdd4706d intel-gpu-tools-1.17-115-g12e34d8 Regression? ======= No Bug detailed description ======= 3 tests of the dpms test family are failing, added multiple outputs, they all seem pretty similar, also attached dmesglog with drm.debug=0xe Reproduce Steps ============== 1. go to intel-gpu-tools folder 2. go to tests/ folder 3. execute IGT test with ./kms_cursor_crc --run-subtest cursor-64x64-dpms 4. execute IGT test with ./kms_cursor_crc --run-subtest cursor-128x128-dpms 5. execute IGT test with ./kms_cursor_crc --run-subtest cursor-256x256-dpms Expected Result ============= tests should be marked as "SUCCESS" Actual Result =========== Subtests are marked as "FAIL" with following output, more examples of outputs on attachments: kms_cursor_crc --run-subtest cursor-256x256-dpms IGT-Version: 1.17-gd854116 (x86_64) (Linux: 4.10.0-drm-tip-qa-ww8-commit-0a03ea9+ x86_64) Beginning cursor-256x256-dpms on pipe A, connector eDP-1 ..(kms_cursor_crc:1416) igt-debugfs-CRITICAL: Test assertion failure function igt_assert_crc_equal, file igt_debugf s.c:295: (kms_cursor_crc:1416) igt-debugfs-CRITICAL: Failed assertion: a->crc[i] == b->crc[i] (kms_cursor_crc:1416) igt-debugfs-CRITICAL: error: 0x40abd51e != 0x70ef223e Stack trace: #0 [__igt_fail_assert+0x101] #1 [igt_assert_crc_equal+0x73] #2 [do_single_test+0x14b] #3 [test_crc_random+0x72] #4 [run_test.constprop.4+0x26e] #5 [run_test_generic.constprop.2+0x276] #6 [__real_main582+0xc7] #7 [main+0x33] #8 [__libc_start_main+0xf1] #9 [_start+0x29] #10 [<unknown>+0x29] Subtest cursor-256x256-dpms failed. **** DEBUG **** (kms_cursor_crc:1416) DEBUG: Test requirement passed: cursor_w <= data->cursor_max_w && cursor_h <= data->cursor_ma x_h (kms_cursor_crc:1416) igt-kms-DEBUG: display: eDP-1: set_pipe(A) (kms_cursor_crc:1416) igt-kms-DEBUG: display: eDP-1: Selecting pipe A (kms_cursor_crc:1416) igt-kms-DEBUG: display: A.4: plane_set_fb(0) (kms_cursor_crc:1416) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258, tiling=0 x0, size=0) (kms_cursor_crc:1416) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=2, pitch=7680) (kms_cursor_crc:1416) igt-kms-DEBUG: display: A.0: plane_set_fb(93) (kms_cursor_crc:1416) igt-kms-DEBUG: display: commit { (kms_cursor_crc:1416) igt-kms-DEBUG: display: eDP-1: Selecting pipe A (kms_cursor_crc:1416) igt-kms-DEBUG: display: eDP-1: SetCrtc pipe A, fb 93, src (0, 0), mode 1920x1080 (kms_cursor_crc:1416) igt-kms-DEBUG: display: SetPlane pipe A, plane 1, disabling (kms_cursor_crc:1416) igt-kms-DEBUG: display: SetPlane pipe A, plane 2, disabling (kms_cursor_crc:1416) igt-kms-DEBUG: display: SetPlane pipe A, plane 3, disabling (kms_cursor_crc:1416) igt-kms-DEBUG: display: SetCursor pipe A, disabling (kms_cursor_crc:1416) igt-kms-DEBUG: display: SetCrtc pipe B, disabling (kms_cursor_crc:1416) igt-kms-DEBUG: display: SetPlane pipe B, plane 1, disabling (kms_cursor_crc:1416) igt-kms-DEBUG: display: SetPlane pipe B, plane 2, disabling (kms_cursor_crc:1416) igt-kms-DEBUG: display: SetPlane pipe B, plane 3, disabling (kms_cursor_crc:1416) igt-kms-DEBUG: display: SetCursor pipe B, disabling (kms_cursor_crc:1416) igt-kms-DEBUG: display: SetCrtc pipe C, disabling (kms_cursor_crc:1416) igt-kms-DEBUG: display: SetPlane pipe C, plane 1, disabling (kms_cursor_crc:1416) igt-kms-DEBUG: display: SetPlane pipe C, plane 2, disabling (kms_cursor_crc:1416) igt-kms-DEBUG: display: SetPlane pipe C, plane 3, disabling (kms_cursor_crc:1416) igt-kms-DEBUG: display: SetCursor pipe C, disabling (kms_cursor_crc:1416) igt-kms-DEBUG: display: } (kms_cursor_crc:1416) igt-debugfs-DEBUG: Using generic frame CRC ABI (kms_cursor_crc:1416) igt-kms-DEBUG: display: A.4: plane_set_fb(0) (kms_cursor_crc:1416) INFO: Beginning cursor-256x256-dpms on pipe A, connector eDP-1 (kms_cursor_crc:1416) igt-kms-DEBUG: display: A.4: plane_set_fb(76) (kms_cursor_crc:1416) igt-kms-DEBUG: display: A.4: plane_set_size (256x256) (kms_cursor_crc:1416) igt-kms-DEBUG: display: A.4: plane_set_position(487,958) (kms_cursor_crc:1416) igt-kms-DEBUG: display: commit { (kms_cursor_crc:1416) igt-kms-DEBUG: display: eDP-1: Selecting pipe A (kms_cursor_crc:1416) igt-kms-DEBUG: display: SetCursor pipe A, fb 1 256x256 (kms_cursor_crc:1416) igt-kms-DEBUG: display: MoveCursor pipe A, (487, 958) (kms_cursor_crc:1416) igt-kms-DEBUG: display: } (kms_cursor_crc:1416) DEBUG: dpms off/on cycle (kms_cursor_crc:1416) igt-kms-DEBUG: display: A.4: plane_set_fb(0) (kms_cursor_crc:1416) igt-kms-DEBUG: display: commit { (kms_cursor_crc:1416) igt-kms-DEBUG: display: eDP-1: Selecting pipe A (kms_cursor_crc:1416) igt-kms-DEBUG: display: SetCursor pipe A, disabling (kms_cursor_crc:1416) igt-kms-DEBUG: display: } (kms_cursor_crc:1416) igt-kms-DEBUG: display: commit { (kms_cursor_crc:1416) igt-kms-DEBUG: display: eDP-1: Selecting pipe A (kms_cursor_crc:1416) igt-kms-DEBUG: display: } (kms_cursor_crc:1416) igt-kms-DEBUG: display: A.4: plane_set_fb(76) (kms_cursor_crc:1416) igt-kms-DEBUG: display: A.4: plane_set_size (256x256) (kms_cursor_crc:1416) igt-kms-DEBUG: display: A.4: plane_set_position(1001,123) (kms_cursor_crc:1416) igt-kms-DEBUG: display: commit { (kms_cursor_crc:1416) igt-kms-DEBUG: display: eDP-1: Selecting pipe A (kms_cursor_crc:1416) igt-kms-DEBUG: display: SetCursor pipe A, fb 1 256x256 (kms_cursor_crc:1416) igt-kms-DEBUG: display: MoveCursor pipe A, (1001, 123) (kms_cursor_crc:1416) igt-kms-DEBUG: display: } (kms_cursor_crc:1416) DEBUG: dpms off/on cycle (kms_cursor_crc:1416) igt-kms-DEBUG: display: A.4: plane_set_fb(0) (kms_cursor_crc:1416) igt-kms-DEBUG: display: commit { (kms_cursor_crc:1416) igt-kms-DEBUG: display: eDP-1: Selecting pipe A (kms_cursor_crc:1416) igt-kms-DEBUG: display: SetCursor pipe A, disabling (kms_cursor_crc:1416) igt-kms-DEBUG: display: } (kms_cursor_crc:1416) igt-kms-DEBUG: display: commit { (kms_cursor_crc:1416) igt-kms-DEBUG: display: eDP-1: Selecting pipe A (kms_cursor_crc:1416) igt-kms-DEBUG: display: } (kms_cursor_crc:1416) igt-debugfs-CRITICAL: Test assertion failure function igt_assert_crc_equal, file igt_debugfs. c:295: (kms_cursor_crc:1416) igt-debugfs-CRITICAL: Failed assertion: a->crc[i] == b->crc[i] (kms_cursor_crc:1416) igt-debugfs-CRITICAL: error: 0x40abd51e != 0x70ef223e **** END **** Subtest cursor-256x256-dpms: FAIL (2.566s)
Created attachment 130347 [details] cursor_64_x_64_dpms.txt
Created attachment 130348 [details] cursor_256_x_256_dpms.txt
Created attachment 130349 [details] cursor_256_x_256_dpms.txt
Created attachment 130350 [details] cursor_128_x_128_dpms.txt
The following tests are also related to this family, and also failing with similar outputs igt@kms_cursor_crc@cursor-128x128-dpms igt@kms_cursor_crc@cursor-128x128-onscreen igt@kms_cursor_crc@cursor-128x128-random igt@kms_cursor_crc@cursor-128x128-sliding igt@kms_cursor_crc@cursor-128x128-suspend igt@kms_cursor_crc@cursor-256x256-dpms igt@kms_cursor_crc@cursor-256x256-onscreen igt@kms_cursor_crc@cursor-256x256-random igt@kms_cursor_crc@cursor-256x256-sliding igt@kms_cursor_crc@cursor-256x256-suspend igt@kms_cursor_crc@cursor-64x64-dpms igt@kms_cursor_crc@cursor-64x64-onscreen igt@kms_cursor_crc@cursor-64x64-random igt@kms_cursor_crc@cursor-64x64-sliding igt@kms_cursor_crc@cursor-64x64-suspend
Tested with patch https://patchwork.freedesktop.org/series/21049/, looks like eDP and DP tests are passing now... however HDMI tests are still failing ./kms_cursor_crc --run-subtest cursor-64x64-dpms IGT-Version: 1.18-gbb97a05 (x86_64) (Linux: 4.11.0-rc2-drm-tip-ww12-commit-c641417+ x86_64) Beginning cursor-64x64-dpms on pipe A, connector eDP-1 .. cursor-64x64-dpms on pipe A, connector eDP-1: PASSED Beginning cursor-64x64-dpms on pipe A, connector DP-1 .. cursor-64x64-dpms on pipe A, connector DP-1: PASSED Beginning cursor-64x64-dpms on pipe A, connector HDMI-A-2 .(kms_cursor_crc:1338) igt-debugfs-CRITICAL: Test assertion failure function igt_assert_crc_equal, file igt_debugfs.c:295: (kms_cursor_crc:1338) igt-debugfs-CRITICAL: Failed assertion: a->crc[i] == b->crc[i] (kms_cursor_crc:1338) igt-debugfs-CRITICAL: error: 0x2648b050 != 0x900a0aee Stack trace: #0 [__igt_fail_assert+0x101] #1 [igt_assert_crc_equal+0x73] #2 [do_single_test+0x14b] #3 [test_crc_random+0x72] #4 [run_test.constprop.4+0x26e] #5 [run_test_generic.constprop.2+0x276] #6 [__real_main582+0xc7] #7 [main+0x33] #8 [__libc_start_main+0xf1] #9 [_start+0x29] #10 [<unknown>+0x29] Subtest cursor-64x64-dpms failed. **** DEBUG **** A.4: plane_set_fb(0) (kms_cursor_crc:1338) igt-kms-DEBUG: display: commit { (kms_cursor_crc:1338) igt-kms-DEBUG: display: eDP-1: Selecting pipe A (kms_cursor_crc:1338) igt-kms-DEBUG: display: SetCursor pipe A, disabling (kms_cursor_crc:1338) igt-kms-DEBUG: display: } (kms_cursor_crc:1338) igt-kms-DEBUG: display: commit { (kms_cursor_crc:1338) igt-kms-DEBUG: display: eDP-1: Selecting pipe A (kms_cursor_crc:1338) igt-kms-DEBUG: display: } (kms_cursor_crc:1338) igt-kms-DEBUG: display: A.4: plane_set_fb(90) (kms_cursor_crc:1338) igt-kms-DEBUG: display: A.4: plane_set_size (64x64) (kms_cursor_crc:1338) igt-kms-DEBUG: display: A.4: plane_set_position(41,443) (kms_cursor_crc:1338) igt-kms-DEBUG: display: commit { (kms_cursor_crc:1338) igt-kms-DEBUG: display: eDP-1: Selecting pipe A (kms_cursor_crc:1338) igt-kms-DEBUG: display: SetCursor pipe A, fb 1 64x64 (kms_cursor_crc:1338) igt-kms-DEBUG: display: MoveCursor pipe A, (41, 443) (kms_cursor_crc:1338) igt-kms-DEBUG: display: } (kms_cursor_crc:1338) DEBUG: dpms off/on cycle (kms_cursor_crc:1338) igt-kms-DEBUG: display: A.4: plane_set_fb(0) (kms_cursor_crc:1338) igt-kms-DEBUG: display: commit { (kms_cursor_crc:1338) igt-kms-DEBUG: display: eDP-1: Selecting pipe A (kms_cursor_crc:1338) igt-kms-DEBUG: display: SetCursor pipe A, disabling (kms_cursor_crc:1338) igt-kms-DEBUG: display: } (kms_cursor_crc:1338) igt-kms-DEBUG: display: commit { (kms_cursor_crc:1338) igt-kms-DEBUG: display: eDP-1: Selecting pipe A (kms_cursor_crc:1338) igt-kms-DEBUG: display: } (kms_cursor_crc:1338) INFO: cursor-64x64-dpms on pipe A, connector eDP-1: PASSED (kms_cursor_crc:1338) igt-kms-DEBUG: display: A.0: plane_set_fb(0) (kms_cursor_crc:1338) igt-kms-DEBUG: display: eDP-1: set_pipe(any) (kms_cursor_crc:1338) igt-kms-DEBUG: display: commit { (kms_cursor_crc:1338) igt-kms-DEBUG: display: SetCrtc pipe A, disabling (kms_cursor_crc:1338) igt-kms-DEBUG: display: } (kms_cursor_crc:1338) igt-kms-DEBUG: display: DP-1: set_pipe(A) (kms_cursor_crc:1338) igt-kms-DEBUG: display: DP-1: Selecting pipe A (kms_cursor_crc:1338) igt-kms-DEBUG: display: A.4: plane_set_fb(0) (kms_cursor_crc:1338) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920, height=1200, format=0x34325258, tiling=0x0, size=0) (kms_cursor_crc:1338) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=2, pitch=7680) (kms_cursor_crc:1338) igt-kms-DEBUG: display: A.0: plane_set_fb(108) (kms_cursor_crc:1338) igt-kms-DEBUG: display: commit { (kms_cursor_crc:1338) igt-kms-DEBUG: display: DP-1: Selecting pipe A (kms_cursor_crc:1338) igt-kms-DEBUG: display: DP-1: SetCrtc pipe A, fb 108, src (0, 0), mode 1920x1200 (kms_cursor_crc:1338) igt-kms-DEBUG: display: SetCursor pipe A, disabling (kms_cursor_crc:1338) igt-kms-DEBUG: display: } (kms_cursor_crc:1338) igt-debugfs-DEBUG: Using generic frame CRC ABI (kms_cursor_crc:1338) igt-kms-DEBUG: display: A.4: plane_set_fb(0) (kms_cursor_crc:1338) INFO: Beginning cursor-64x64-dpms on pipe A, connector DP-1 (kms_cursor_crc:1338) igt-kms-DEBUG: display: A.4: plane_set_fb(90) (kms_cursor_crc:1338) igt-kms-DEBUG: display: A.4: plane_set_size (64x64) (kms_cursor_crc:1338) igt-kms-DEBUG: display: A.4: plane_set_position(1041,703) (kms_cursor_crc:1338) igt-kms-DEBUG: display: commit { (kms_cursor_crc:1338) igt-kms-DEBUG: display: DP-1: Selecting pipe A (kms_cursor_crc:1338) igt-kms-DEBUG: display: SetCursor pipe A, fb 1 64x64 (kms_cursor_crc:1338) igt-kms-DEBUG: display: MoveCursor pipe A, (1041, 703) (kms_cursor_crc:1338) igt-kms-DEBUG: display: } (kms_cursor_crc:1338) DEBUG: dpms off/on cycle (kms_cursor_crc:1338) igt-kms-DEBUG: display: A.4: plane_set_fb(0) (kms_cursor_crc:1338) igt-kms-DEBUG: display: commit { (kms_cursor_crc:1338) igt-kms-DEBUG: display: DP-1: Selecting pipe A (kms_cursor_crc:1338) igt-kms-DEBUG: display: SetCursor pipe A, disabling (kms_cursor_crc:1338) igt-kms-DEBUG: display: } (kms_cursor_crc:1338) igt-kms-DEBUG: display: commit { (kms_cursor_crc:1338) igt-kms-DEBUG: display: DP-1: Selecting pipe A (kms_cursor_crc:1338) igt-kms-DEBUG: display: } (kms_cursor_crc:1338) igt-kms-DEBUG: display: A.4: plane_set_fb(90) (kms_cursor_crc:1338) igt-kms-DEBUG: display: A.4: plane_set_size (64x64) (kms_cursor_crc:1338) igt-kms-DEBUG: display: A.4: plane_set_position(1034,636) (kms_cursor_crc:1338) igt-kms-DEBUG: display: commit { (kms_cursor_crc:1338) igt-kms-DEBUG: display: DP-1: Selecting pipe A (kms_cursor_crc:1338) igt-kms-DEBUG: display: SetCursor pipe A, fb 1 64x64 (kms_cursor_crc:1338) igt-kms-DEBUG: display: MoveCursor pipe A, (1034, 636) (kms_cursor_crc:1338) igt-kms-DEBUG: display: } (kms_cursor_crc:1338) DEBUG: dpms off/on cycle (kms_cursor_crc:1338) igt-kms-DEBUG: display: A.4: plane_set_fb(0) (kms_cursor_crc:1338) igt-kms-DEBUG: display: commit { (kms_cursor_crc:1338) igt-kms-DEBUG: display: DP-1: Selecting pipe A (kms_cursor_crc:1338) igt-kms-DEBUG: display: SetCursor pipe A, disabling (kms_cursor_crc:1338) igt-kms-DEBUG: display: } (kms_cursor_crc:1338) igt-kms-DEBUG: display: commit { (kms_cursor_crc:1338) igt-kms-DEBUG: display: DP-1: Selecting pipe A (kms_cursor_crc:1338) igt-kms-DEBUG: display: } (kms_cursor_crc:1338) INFO: cursor-64x64-dpms on pipe A, connector DP-1: PASSED (kms_cursor_crc:1338) igt-kms-DEBUG: display: A.0: plane_set_fb(0) (kms_cursor_crc:1338) igt-kms-DEBUG: display: DP-1: set_pipe(any) (kms_cursor_crc:1338) igt-kms-DEBUG: display: commit { (kms_cursor_crc:1338) igt-kms-DEBUG: display: SetCrtc pipe A, disabling (kms_cursor_crc:1338) igt-kms-DEBUG: display: } (kms_cursor_crc:1338) igt-kms-DEBUG: display: HDMI-A-2: set_pipe(A) (kms_cursor_crc:1338) igt-kms-DEBUG: display: HDMI-A-2: Selecting pipe A (kms_cursor_crc:1338) igt-kms-DEBUG: display: A.4: plane_set_fb(0) (kms_cursor_crc:1338) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258, tiling=0x0, size=0) (kms_cursor_crc:1338) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=2, pitch=7680) (kms_cursor_crc:1338) igt-kms-DEBUG: display: A.0: plane_set_fb(108) (kms_cursor_crc:1338) igt-kms-DEBUG: display: commit { (kms_cursor_crc:1338) igt-kms-DEBUG: display: HDMI-A-2: Selecting pipe A (kms_cursor_crc:1338) igt-kms-DEBUG: display: HDMI-A-2: SetCrtc pipe A, fb 108, src (0, 0), mode 1920x1080 (kms_cursor_crc:1338) igt-kms-DEBUG: display: SetCursor pipe A, disabling (kms_cursor_crc:1338) igt-kms-DEBUG: display: } (kms_cursor_crc:1338) igt-debugfs-DEBUG: Using generic frame CRC ABI (kms_cursor_crc:1338) igt-kms-DEBUG: display: A.4: plane_set_fb(0) (kms_cursor_crc:1338) INFO: Beginning cursor-64x64-dpms on pipe A, connector HDMI-A-2 (kms_cursor_crc:1338) igt-kms-DEBUG: display: A.4: plane_set_fb(90) (kms_cursor_crc:1338) igt-kms-DEBUG: display: A.4: plane_set_size (64x64) (kms_cursor_crc:1338) igt-kms-DEBUG: display: A.4: plane_set_position(1769,541) (kms_cursor_crc:1338) igt-kms-DEBUG: display: commit { (kms_cursor_crc:1338) igt-kms-DEBUG: display: HDMI-A-2: Selecting pipe A (kms_cursor_crc:1338) igt-kms-DEBUG: display: SetCursor pipe A, fb 1 64x64 (kms_cursor_crc:1338) igt-kms-DEBUG: display: MoveCursor pipe A, (1769, 541) (kms_cursor_crc:1338) igt-kms-DEBUG: display: } (kms_cursor_crc:1338) DEBUG: dpms off/on cycle (kms_cursor_crc:1338) igt-kms-DEBUG: display: A.4: plane_set_fb(0) (kms_cursor_crc:1338) igt-kms-DEBUG: display: commit { (kms_cursor_crc:1338) igt-kms-DEBUG: display: HDMI-A-2: Selecting pipe A (kms_cursor_crc:1338) igt-kms-DEBUG: display: SetCursor pipe A, disabling (kms_cursor_crc:1338) igt-kms-DEBUG: display: } (kms_cursor_crc:1338) igt-kms-DEBUG: display: commit { (kms_cursor_crc:1338) igt-kms-DEBUG: display: HDMI-A-2: Selecting pipe A (kms_cursor_crc:1338) igt-kms-DEBUG: display: } (kms_cursor_crc:1338) igt-debugfs-CRITICAL: Test assertion failure function igt_assert_crc_equal, file igt_debugfs.c:295: (kms_cursor_crc:1338) igt-debugfs-CRITICAL: Failed assertion: a->crc[i] == b->crc[i] (kms_cursor_crc:1338) igt-debugfs-CRITICAL: error: 0x2648b050 != 0x900a0aee **** END **** Subtest cursor-64x64-dpms: FAIL (3.902s)
First bad commit is commit a5509abda48ecfc133fac6268e83fc1a93dba039 Author: Ville Syrjälä <ville.syrjala@linux.intel.com> Date: Fri Feb 17 17:01:59 2017 +0200 drm/i915: Fix legacy cursor vs. watermarks for ILK-BDW
*** This bug has been marked as a duplicate of bug 100195 ***
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.