Bug 107798 - [CI][BAT] igt@pm_rpm@module-reload - fail - Failed assertion: is_i915_device(fd)
Summary: [CI][BAT] igt@pm_rpm@module-reload - fail - Failed assertion: is_i915_device(fd)
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: IGT (show other bugs)
Version: XOrg git
Hardware: Other All
: highest normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard: ReadyForDev
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-03 12:04 UTC by Martin Peres
Modified: 2018-09-05 14:07 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Martin Peres 2018-09-03 12:04:13 UTC
https://intel-gfx-ci.01.org/tree/drm-tip/IGT_4620/fi-kbl-8809g/igt@pm_rpm@module-reload.html

https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_4754/fi-kbl-8809g/igt@pm_rpm@module-reload.html

(pm_rpm:4358) intel_chipset-CRITICAL: Test assertion failure function intel_get_drm_devid, file ../lib/intel_chipset.c:132:
(pm_rpm:4358) intel_chipset-CRITICAL: Failed assertion: is_i915_device(fd)
(pm_rpm:4358) intel_chipset-CRITICAL: Last errno: 2, No such file or directory
Test pm_rpm failed.
Comment 1 Chris Wilson 2018-09-03 12:06:19 UTC
commit 125eee6e981eac0a004aeb4f327439a132ceac5c (upstream/master, origin/master, origin/HEAD)
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Mon Sep 3 10:44:31 2018 +0100

    lib: Fix strcmp() direction for bsearch.
    
    I fluked out as vgem was the initial mid value, hiding the worst of the
    errors as i915 matched with DRIVER_ANY.
    
    Fixes: 20087bf22698 ("lib: Use a bsearch to find the module name")
    Reported-by: Petri Latvala <petri.latvala@intel.com>
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
    Cc: Petri Latvala <petri.latvala@intel.com>
    Reviewed-by: Petri Latvala <petri.latvala@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.