Bug 94004 - [KBL] igt/gem_userptr_blits mlocked tests fail
Summary: [KBL] igt/gem_userptr_blits mlocked tests fail
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:
Depends on:
Blocks:
 
Reported: 2016-02-04 13:59 UTC by Olivier Berthier
Modified: 2017-07-03 13:38 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
dmesg log (224.79 KB, text/plain)
2016-02-04 13:59 UTC, Olivier Berthier
no flags Details

Description Olivier Berthier 2016-02-04 13:59:38 UTC
Created attachment 121520 [details]
dmesg log

Setup:
------
Hardware
Platform: KABY LAKE-U 
CPU : Intel(R) Core(TM) @ 2.60GHz
MCP : KBL-U G0 2+2 (ou ULT-G0)
QDF : QYQ8
Chipset PCH: SPT-LP C1 
CRB : KABY LAKE U DDR3L RVP7 CRB FAB1
Software
BIOS : KBLSE2R1.R00.X015.B01.1511271314
ME FW : 11.5.0.1008
Ksc (EC FW): 1.20
Linux distribution: Ubuntu 15.10 64 bits
Kernel: drm-intel-nightly 4.5.0-rc1 5d3deb0 from http://cgit.freedesktop.org/drm-intel/
commit 5d3deb0902a962218ad9b0e583e4d1bbdec29f9a
Author: Rodrigo Vivi <rodrigo.vivi@intel.com>
Date:   Mon Feb 1 12:05:18 2016 -0800

    drm-intel-nightly: 2016y-02m-01d-20h-05m-03s UTC integration manifest

drm: tag libdrm-2.4.66 e342c0f
intel-gpu-tool: intel-gpu-tools-1.13-179-g3005665


Steps:
------
run the command :
#  ./gem_userptr_blits --r mlocked-normal-sync

Actual result:
---------------
The test fail.

Expected result:
----------------
The result is pass or skip.

Program output:
---------------

IGT-Version: 1.13-NOT-GIT (x86_64) (Linux: 4.5.0-rc1-nightly+ x86_64)
Aperture size is 268435456 MiB
Total RAM is 5,865 MiB
Not enough RAM to run test, reducing buffer count.
Testing unsynchronized mappings...
Testing synchronized mappings...
child 0 failed with exit status 28
Subtest mlocked-normal-sync failed.
**** DEBUG ****
(gem_userptr_blits:1124) intel-os-DEBUG: Checking 4,398 surfaces of size 1,048,576 bytes (total 4,613,890,048) against RAM
(gem_userptr_blits:1124) intel-os-DEBUG: Test requirement passed: !(!__intel_check_memory(count, size, mode, &required, &total))
(gem_userptr_blits:1124) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation()
(gem_userptr_blits:1124) DEBUG: Test requirement passed: pin > sz
(gem_userptr_blits:1124) DEBUG: Pinning [-920, 3478] MiB
(gem_userptr_blits:1124) DEBUG: Test requirement passed: locked
****  END  ****
Subtest mlocked-normal-sync: FAIL (0.391s)
Comment 1 Chris Wilson 2016-02-04 17:49:48 UTC
commit 0e96238bf35959f933b545d2ec85ada6b769cf8b
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Thu Feb 4 17:41:05 2016 +0000

    igt/gem_userptr_blits: Limit amount of mlocked surfaces
    
    When testing surface eviction we don't need that many surfaces as we
    mlock surplus memory. Reducing the number of surfaces speeds up the test
    and prevents a couple of integer overflow bugs.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=94004
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Comment 2 Jari Tahvanainen 2017-07-03 13:38:10 UTC
Closing >1 year old resolved+fixed. See also Bug 95427.


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.