Bug 85837 - [BYT PPGTT]igt/gem_exec_parse/gem_storedw_loop_blt/gem_storedw_loop_bsd skip disable ppgtt
Summary: [BYT PPGTT]igt/gem_exec_parse/gem_storedw_loop_blt/gem_storedw_loop_bsd skip ...
Status: CLOSED NOTABUG
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: All Linux (All)
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-04 07:31 UTC by lu hua
Modified: 2015-05-14 01:32 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
dmesg (78.26 KB, text/plain)
2014-11-04 08:57 UTC, lu hua
no flags Details

Description lu hua 2014-11-04 07:31:05 UTC
==System Environment==
--------------------------
Regression: yes(PPGTT)

==kernel==
--------------------------
drm-intel-nightly/782bafb46cc12737b16e5007583bd7b534c6202a

==Bug detailed description==
-----------------------------
They skip on BYT with -nightly kernel. Enable ppgtt, they work well.

run ./gem_exec_parse --run-subtest basic-allowed
output:
IGT-Version: 1.8-ge622850 (x86_64) (Linux: 3.18.0-rc3_drm-intel-nightly_782baf_20141104+ x86_64)
Test requirement not met in function __real_main287, file gem_exec_parse.c:301:
Test requirement: gem_uses_aliasing_ppgtt(fd)
Subtest basic-allowed: SKIP

dmesg:
[  261.055160] gem_exec_parse: executing
[  261.055358] [drm:i915_gem_open]
[  261.056092] [drm:i915_gem_open]
[  261.057225] [drm:intel_crtc_set_config] [CRTC:8] [FB:35] #connectors=1 (x y) (0 0)
[  261.057236] [drm:intel_set_config_compute_mode_changes] computed changes for [CRTC:8], mode_changed=0, fb_changed=0
[  261.057242] [drm:intel_modeset_stage_output_state] [CONNECTOR:28:eDP-1] to [CRTC:8]
[  261.057247] [drm:intel_crtc_set_config] [CRTC:13] [NOFB]
[  261.057252] [drm:intel_set_config_compute_mode_changes] computed changes for [CRTC:13], mode_changed=0, fb_changed=0
[  261.057256] [drm:intel_modeset_stage_output_state] [CONNECTOR:28:eDP-1] to [CRTC:8]

==Reproduce steps==
---------------------------- 
1. ./gem_exec_parse --run-subtest basic-allowed
Comment 1 Chris Wilson 2014-11-04 07:49:33 UTC
The test requires aliasing ppgtt, which should be active by default on -nightly. Please attach the dmesg from the failing case.
Comment 2 lu hua 2014-11-04 08:57:01 UTC
Created attachment 108876 [details]
dmesg
Comment 3 Chris Wilson 2014-11-04 09:00:37 UTC
i915.enable_ppgtt=0 -> this test should indeed skip.
Comment 4 Yi Sun 2014-11-05 01:02:11 UTC
(In reply to Chris Wilson from comment #3)
> i915.enable_ppgtt=0 -> this test should indeed skip.

Hi Chris, clarify a little here. 
We can have aliasing ppgtt on SNB+, and full ppgtt on IVB+.
At the moment, the default value for enable_ppgtt is -1, which means all the above platform enable aliasing/full ppgtt by default. But one exception is that full ppgtt is disabled on BDW. 
Am I right?
Comment 5 Chris Wilson 2014-11-05 07:37:58 UTC
At the moment:

-ilk: no ppgtt
snb+: aliasing ppgtt

i.e. no platform has full-ppgtt enabled by default.

We did try with full-ppgtt on ivb/byt/hsw, but we had to revert that due to unresolved issues.


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.