Bug 94306 - [BAT] kms_force_connector_basic/force-load-detect failure
Summary: [BAT] kms_force_connector_basic/force-load-detect failure
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: DRI git
Hardware: Other All
: highest critical
Assignee: Marius Vlad
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-26 13:07 UTC by Tvrtko Ursulin
Modified: 2017-07-24 22:42 UTC (History)
1 user (show)

See Also:
i915 platform: HSW, ILK, IVB, SNB
i915 features:


Attachments

Description Tvrtko Ursulin 2016-02-26 13:07:57 UTC
I can't see that this was filed before and has been failing for some time on multiple platforms:

Results for igt@kms_force_connector_basic@force-load-detect
Overview

Result: fail

Back to summary
Details
Detail 	Value
Returncode 	99
Time 	0:00:00.958842
Stdout 	

IGT-Version: 1.13-gd627e30 (x86_64) (Linux: 4.5.0-rc5-gfxbench+ x86_64)
Stack trace:
  #0 [__igt_fail_assert+0x101]
  #1 [main+0x53e]
  #2 [__libc_start_main+0xf0]
  #3 [_start+0x29]
Subtest force-load-detect: FAIL (0.078s)

Stderr 	

(kms_force_connector_basic:6261) CRITICAL: Test assertion failure function main, file kms_force_connector_basic.c:123:
(kms_force_connector_basic:6261) CRITICAL: Failed assertion: temp->connection != DRM_MODE_UNKNOWNCONNECTION
Subtest force-load-detect failed.
**** DEBUG ****
(kms_force_connector_basic:6261) CRITICAL: Test assertion failure function main, file kms_force_connector_basic.c:123:
(kms_force_connector_basic:6261) CRITICAL: Failed assertion: temp->connection != DRM_MODE_UNKNOWNCONNECTION
****  END  ****

Environment 	

PIGLIT_PLATFORM="mixed_glx_egl" PIGLIT_SOURCE_DIR="/opt/igt/piglit"

Command 	/opt/igt/tests/kms_force_connector_basic --run-subtest force-load-detect
dmesg
Comment 1 yann 2016-02-26 14:07:09 UTC
Tvrtko Ursulin, can you indicate on which platforms it is happening (ALL?), the kernel version/commit id and a dmesg when the error occurs?
Comment 2 Tvrtko Ursulin 2016-02-26 14:22:22 UTC
/archive/results/CI_IGT_test/igt@kms_force_connector_basic@force-load-detect.html

ILK, IVB, SNB, HSW by the look of if.
Comment 3 Daniela Prodan 2016-02-29 15:56:29 UTC
Test was introduced with this patch series:
https://patchwork.freedesktop.org/series/2982/

Assigned to Marius for investigation.
Comment 4 Gabriel Feceoru 2016-03-03 11:42:49 UTC
This can be closed.

It was fixed by this commit:


commit 32fff610f7cf05260300f6c18700e9e0ac5910fb
Author: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Date:   Tue Mar 1 17:04:01 2016 +0100

    drm/i915: Do not return unknown status when load detection is tested.
    
    This fixes the IGT test, which interprets unknown status as failed to
    acquire load detect pipe.
    
    Cc: Gabriel Feceoru <gabriel.feceoru@intel.com>
    Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
    Link: http://patchwork.freedesktop.org/patch/msgid/1456848241-6431-1-git-send-email-maarten.lankhorst@linux.intel.com
    Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Comment 5 Gabriel Feceoru 2016-03-03 11:44:12 UTC
This can be closed.

It was fixed by this commit:


commit 32fff610f7cf05260300f6c18700e9e0ac5910fb
Author: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Date:   Tue Mar 1 17:04:01 2016 +0100

    drm/i915: Do not return unknown status when load detection is tested.
    
    This fixes the IGT test, which interprets unknown status as failed to
    acquire load detect pipe.
    
    Cc: Gabriel Feceoru <gabriel.feceoru@intel.com>
    Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
    Link: http://patchwork.freedesktop.org/patch/msgid/1456848241-6431-1-git-send-email-maarten.lankhorst@linux.intel.com
    Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>


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.