Summary: | [IVB/HSW/BYT-M Bisected ppgtt] GPU Hang when running some cases (e.g. doom3 v1.3.1) | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | DRI | Reporter: | zhoujian <jianx.zhou> | ||||||||
Component: | DRM/Intel | Assignee: | Intel GFX Bugs mailing list <intel-gfx-bugs> | ||||||||
Status: | CLOSED FIXED | QA Contact: | Intel GFX Bugs mailing list <intel-gfx-bugs> | ||||||||
Severity: | major | ||||||||||
Priority: | high | CC: | eero.t.tamminen, intel-gfx-bugs, jinxianx.guo | ||||||||
Version: | unspecified | ||||||||||
Hardware: | All | ||||||||||
OS: | Linux (All) | ||||||||||
See Also: | https://bugs.freedesktop.org/show_bug.cgi?id=83699 | ||||||||||
Whiteboard: | |||||||||||
i915 platform: | i915 features: | ||||||||||
Attachments: |
|
Description
zhoujian
2014-09-10 07:19:15 UTC
Created attachment 106026 [details]
hsw_dmesg.log
To confirm the bisect, please try i915.enable_ppgtt=1 Created attachment 106027 [details]
Xorg.0.log
(In reply to comment #2) > To confirm the bisect, please try i915.enable_ppgtt=1 I have tried this "i915.enable_ppgtt=1",it can works well. Created attachment 106029 [details]
hsw_gpuhang_output.log
*** Bug 83703 has been marked as a duplicate of this bug. *** One Haswell specific bug so far: http://patchwork.freedesktop.org/patch/33319/ (In reply to comment #7) > One Haswell specific bug so far: > http://patchwork.freedesktop.org/patch/33319/ I have tried this patch: http://patchwork.freedesktop.org/patch/33319/ ,it can woks well on HSW,Please merge up the patch, thanks. commit fbc69204b0d5911e623eb700f1b6fd637dcaa538 Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Wed Sep 10 12:18:27 2014 +0100 drm/i915: HSW always use GGTT selector for secure batches gen6 and earlier conflate address space selection (ppgtt vs ggtt) with the security bit (i.e. only privileged batches were allowed to run from ggtt). From Haswell only, you are able to select the security bit separate from the address space - and we always requested to use ppgtt. This breaks the golden render state batch execution with full-ppgtt as that is only present in the global GTT and more generally any secure batch that is not colocated in the ppgtt and ggtt. So we need to disable the use of the ppgtt selector bit for secure batches, or else we hang immediately upon boot and thence after every GPU reset... v2: Only HSW differentiates between secure dispatch and ggtt, so simply ignore the differentiation and always use secure==ggtt. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Ville Syrjälä <ville.syrjala@linux.intel.com> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> [danvet: Rectify commit message as noted by Chris.] Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Patch merged, please re-test on current nightly, and close the bug or adjust affected platforms as necessary. Thanks. (In reply to comment #10) > Patch merged, please re-test on current nightly, and close the bug or adjust > affected platforms as necessary. Thanks. I have re-test drm-intel-nightly(git-72faa6a),not found this issue. Verified it,verified commit is:git-449b37(drm-intel-next-queued). 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.