Created attachment 116575 [details] dmesg ==System Environment== -------------------------- Regression: not sure, new case Non-working platforms: BDW ==kernel== -------------------------- drm-intel-nightly/2a36ab374449e3794b4be6be01f1a47cb6ee5b83 commit 2a36ab374449e3794b4be6be01f1a47cb6ee5b83 Author: Daniel Vetter <daniel.vetter@ffwll.ch> Date: Wed Jun 17 14:44:45 2015 +0200 drm-intel-nightly: 2015y-06m-17d-12h-44m-01s UTC integration manifest ==Bug detailed description== ----------------------------- It fails on BDW with drm-intel-nightly kernel. output: IGT-Version: 1.11-gc83299d (x86_64) (Linux: 4.1.0-rc8_drm-intel-nightly_2a36ab_20150618+ x86_64) Primary screen: eDP Custom 1024x768 FBC last action not supported Can't test PSR: not supported by sink. Test assertion failure function get_sink_crc, file kms_frontbuffer_tracking.c:679: Failed assertion: read(sink_crc.fd, crc->data, SINK_CRC_SIZE) == SINK_CRC_SIZE Last errno: 25, Inappropriate ioctl for device Stack trace: #0 [__igt_fail_assert+0xf1] #1 [collect_crcs+0x8a] #2 [main+0x663] #3 [__libc_start_main+0xf5] #4 [_start+0x29] #5 [<unknown>+0x29] Test kms_frontbuffer_tracking failed. **** DEBUG **** (kms_frontbuffer_tracking:4903) drmtest-DEBUG: Test requirement passed: fd >= 0 Test requirement passed: fd >= 0 Test requirement passed: drmSetMaster(fd) == 0 Primary screen: eDP Custom 1024x768 Test requirement passed: init_modeset_cached_params() igt_create_fb_with_bo_size(width=1024, height=768, format=0x34325258 [bpp=32], tiling=0x100000000000001, size=0 igt_create_fb_with_bo_size(handle=1, pitch=4096) igt_create_fb_with_bo_size(width=64, height=64, format=0x34325241 [bpp=32], tiling=0x0, size=0 igt_create_fb_with_bo_size(handle=2, pitch=256) igt_create_fb_with_bo_size(width=64, height=64, format=0x34325258 [bpp=32], tiling=0x100000000000001, size=0 igt_create_fb_with_bo_size(handle=3, pitch=512) igt_create_fb_with_bo_size(width=1024, height=1024, format=0x34325258 [bpp=32], tiling=0x100000000000001, size=0 igt_create_fb_with_bo_size(handle=4, pitch=4096) igt_create_fb_with_bo_size(width=2548, height=1524, format=0x34325258 [bpp=32], tiling=0x100000000000001, size=0 igt_create_fb_with_bo_size(handle=5, pitch=16384) VT: graphics mode set (mode was 0x0) FBC last action not supported Can't test PSR: not supported by sink. igt_create_fb_with_bo_size(width=1024, height=768, format=0x34325258 [bpp=32], tiling=0x100000000000001, size=0 igt_create_fb_with_bo_size(handle=6, pitch=4096) Test assertion failure function get_sink_crc, file kms_frontbuffer_tracking.c:679: Failed assertion: read(sink_crc.fd, crc->data, SINK_CRC_SIZE) == SINK_CRC_SIZE Last errno: 25, Inappropriate ioctl for device **** END **** Subtest fbc-1p-cur-sfb-multidraw-blt: FAIL ==Reproduce steps== ---------------------------- 1. ./kms_frontbuffer_tracking --run-subtest fbc-1p-cur-sfb-multidraw-blt
Maybe we're trying to read the sink CRC on an eDP panel that doesn't support it... I'll investigate this.
Created attachment 116580 [details] [review] possible fix Hi Can you please test this patch and see if it solves the problem? Thanks, Paulo
Created attachment 116581 [details] [review] possible fix, v2 New version of the patch, after some IRC review. Please test this one.
(In reply to Paulo Zanoni from comment #3) > Created attachment 116581 [details] [review] [review] > possible fix, v2 > > New version of the patch, after some IRC review. Please test this one. Fixed by this patch. output: IGT-Version: 1.11-g4fbce7e (x86_64) (Linux: 4.1.0-rc8_drm-intel-nightly_186047_20150619+ x86_64) Primary screen: eDP Custom 1024x768 FBC last action not supported Can't test PSR: not supported by sink. Sink CRC not supported: panel doesn't support it Subtest fbc-1p-cur-sfb-multidraw-blt: SUCCESS (7.682s)
Patch merged to IGT.
most of the subcases are pass. some fail will track on bug 91028. Close it.
Closing verified+fixed.
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.