Bug 84354 - [BSW]igt/gem_concurrent_blit some subcases cause long time to execute
Summary: [BSW]igt/gem_concurrent_blit some subcases cause long time to execute
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
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: 2014-09-26 06:10 UTC by Guo Jinxian
Modified: 2017-10-06 14:35 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
dmesg (112.36 KB, text/plain)
2014-09-26 06:10 UTC, Guo Jinxian
no flags Details

Description Guo Jinxian 2014-09-26 06:10:34 UTC
Created attachment 106900 [details]
dmesg

==System Environment==
--------------------------
Regression: Not sure.
I don't find good commit on both kernel and igt

Non-working platforms: BSW

==kernel==
--------------------------
origin/drm-intel-nightly: 7101d84020f63f1da7e0c5d021cdd6be4d515de5(fails)
    drm-intel-nightly: 2014y-09m-25d-15h-14m-02s UTC integration manifest
origin/drm-intel-next-queued: 7ca5a41f4da201371e131fc0641033652f76bf30(fails)
    drm/i915: Avoid re-configure panel on every PSR re-enable.
origin/drm-intel-fixes: c84db77010877da6c5da119868ed54c43d59e726(fails)
    drm/i915/hdmi: fix hdmi audio state readout

==Bug detailed description==
-----------------------------
igt/gem_concurrent_blit some subcases cause long time to execute

Case list:
igt/gem_concurrent_blit/gtt-bcs-early-read-forked
igt/gem_concurrent_blit/gtt-bcs-early-read-interruptible
igt/gem_concurrent_blit/gtt-bcs-gpu-read-after-write-forked
igt/gem_concurrent_blit/gtt-bcs-gpu-read-after-write-interruptible
igt/gem_concurrent_blit/gtt-bcs-overwrite-source-forked
igt/gem_concurrent_blit/gtt-bcs-overwrite-source-interruptible
igt/gem_concurrent_blit/gtt-rcs-early-read-forked
igt/gem_concurrent_blit/gtt-rcs-early-read-interruptible
igt/gem_concurrent_blit/gtt-rcs-gpu-read-after-write-forked
igt/gem_concurrent_blit/gtt-rcs-gpu-read-after-write-interruptible
igt/gem_concurrent_blit/gtt-rcs-overwrite-source-forked
igt/gem_concurrent_blit/gtt-rcs-overwrite-source-interruptible
igt/gem_concurrent_blit/gttX-bcs-early-read-forked
igt/gem_concurrent_blit/gttX-bcs-early-read-interruptible
igt/gem_concurrent_blit/gttX-bcs-gpu-read-after-write-forked
igt/gem_concurrent_blit/gttX-bcs-gpu-read-after-write-interruptible
igt/gem_concurrent_blit/gttX-bcs-overwrite-source-forked
igt/gem_concurrent_blit/gttX-bcs-overwrite-source-interruptible
igt/gem_concurrent_blit/gttX-rcs-early-read-forked
igt/gem_concurrent_blit/gttX-rcs-early-read-interruptible
igt/gem_concurrent_blit/gttX-rcs-gpu-read-after-write-forked
igt/gem_concurrent_blit/gttX-rcs-gpu-read-after-write-interruptible
igt/gem_concurrent_blit/gttX-rcs-overwrite-source-forked
igt/gem_concurrent_blit/gttX-rcs-overwrite-source-interruptible

Output:
[root@x-bsw01 tests]# time ./gem_concurrent_blit --run-subtest gtt-bcs-early-read-interruptible
IGT-Version: 1.8-g4b81e9c (x86_64) (Linux: 3.17.0-rc6_drm-intel-nightly_0f7cc1_20140925+ x86_64)
using 2x512 buffers, each 1MiB
Subtest gtt-bcs-early-read-interruptible: SUCCESS (621.329s)

real    10m21.884s
user    10m13.709s
sys     0m11.420s

==Reproduce steps==
---------------------------- 
1. ./gem_concurrent_blit --run-subtest gtt-bcs-early-read-interruptible
Comment 1 Chris Wilson 2014-09-26 06:58:47 UTC
commit 3e766b8255efb6c994e6501be2af44b4bdc4d191
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Fri Sep 26 07:55:49 2014 +0100

    igt/gem_concurrent_blit: Only read back a few GTT values
    
    Due to the nature of the test, we can be reasonably sure that it is
    either all copied or not. So we can sacrificing testing the entire
    buffer for the expected value in order to speed up the test by only
    testing along the diagonal.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=84354
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Comment 2 Guo Jinxian 2014-09-28 02:59:33 UTC
Verified on latest igt(32a0308e2da1ed5871e21ca81822fc0c8aa73f9e)

[root@x-bsw01 tests]# time ./gem_concurrent_blit --run-subtest gtt-bcs-early-read-interruptible
IGT-Version: 1.8-g32a0308 (x86_64) (Linux: 3.17.0-rc6_drm-intel-nightly_7101d8_20140927+ x86_64)
using 2x512 buffers, each 1MiB
Subtest gtt-bcs-early-read-interruptible: SUCCESS (11.259s)

real    0m11.812s
user    0m4.707s
sys     0m5.049s
Comment 3 Elizabeth 2017-10-06 14:35:10 UTC
Closing old verified.


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.