Bug 107127 - [CI] igt@drv_selftest@live_gtt - incomplete
Summary: [CI] igt@drv_selftest@live_gtt - incomplete
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: DRI git
Hardware: Other All
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
: 107203 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-07-05 14:10 UTC by Tomi Sarvela
Modified: 2018-07-12 12:27 UTC (History)
2 users (show)

See Also:
i915 platform: BDW, CFL, KBL, SKL
i915 features: GEM/Other


Attachments

Description Tomi Sarvela 2018-07-05 14:10:34 UTC
CI hosts are starting to run i915 selftests, and this bug is part of the series "Initial findings"

Hosts gen SKL and upwards hang to i915 drv_selftest@live_gtt
Comment 2 Chris Wilson 2018-07-05 14:19:26 UTC
At the beginning of the test on these platforms we try to create a fully populated 4G ppgtt, and then the test goes on to try and fill all of memory to see how close to a 48b gtt we can create (although it gives up on a timeout). This test is prone to oom and watchdog. I think it makes some sense to prune the worst offenders for fast-feedback (in the same way as we limit individual tests to run within a timeout rather than try and exercise the whole parameter space). Not sure on how we want to go about that though.

drv_selftest --fast-feedback
drv_selftest --quick
? Which then feed through to a i915 module parameter.
Comment 3 Chris Wilson 2018-07-06 16:31:29 UTC
commit 207b700050b8d323d0c23b457c200b22c7ed3737
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Fri Jul 6 13:53:38 2018 +0100

    drm/i915/selftests: Limit live_gtt allocation test to fit within RAM
    
    Limit the GTT size we try and allocate to ensure that it fits within RAM
    and does not trigger the oomkiller indiscriminately.
    
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
    Cc: Matthew Auld <matthew.auld@intel.com>
    Reviewed-by: Matthew Auld <matthew.auld@intel.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20180706125338.24432-1-chris@chris-wilson.co.uk


should be enough...
Comment 4 Martin Peres 2018-07-10 11:50:46 UTC
(In reply to Chris Wilson from comment #3)
> commit 207b700050b8d323d0c23b457c200b22c7ed3737
> Author: Chris Wilson <chris@chris-wilson.co.uk>
> Date:   Fri Jul 6 13:53:38 2018 +0100
> 
>     drm/i915/selftests: Limit live_gtt allocation test to fit within RAM
>     
>     Limit the GTT size we try and allocate to ensure that it fits within RAM
>     and does not trigger the oomkiller indiscriminately.
>     
>     Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
>     Cc: Matthew Auld <matthew.auld@intel.com>
>     Reviewed-by: Matthew Auld <matthew.auld@intel.com>
>     Link:
> https://patchwork.freedesktop.org/patch/msgid/20180706125338.24432-1-
> chris@chris-wilson.co.uk
> 
> 
> should be enough...

Looks good! Thanks!
Comment 5 Chris Wilson 2018-07-12 12:27:12 UTC
*** Bug 107203 has been marked as a duplicate of this bug. ***


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.