[Bug 83677] [HSW] GPU hang on ctx load

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Sep 22 02:25:48 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=83677

--- Comment #32 from Simon Farnsworth <simon at farnz.org.uk> ---
(In reply to comment #31)
> (In reply to comment #29)
> > Still scratching my head over that BUG(). I've splattered a few more into
> > #requests, if you could be so kind as to see if that changes the oops.
> > 
> > Meanwhile, current theory is that maybe it is the CS programming around the
> > ctx switch that is the significant change in the shotgun. Still thinking.
> 
> I'm now testing your new #requests branch, as of
> 
> commit cdd8594d0f84e06f99cdd1e5b823b844c4249f6b
> Author: Chris Wilson <chris at chris-wilson.co.uk>
> Date:   Thu Sep 18 14:27:36 2014 +0100
> 
>     Revert "drm/i915: Enable full PPGTT on gen7"
>     
>     This reverts commit 83255c23abe91da047dc71e52be62c42dd4c04a1.
> 
> I'll let you know the results on Monday.

This commit, running with i915.enable_rc6=0 i915.enable_fbc=0 slub_debug
drm.debug=7, has not failed on me.

[229832.518684] [drm:drm_calc_vbltimestamp_from_scanoutpos] crtc 0 : v 7
p(0,-41)@ 230045.960557 -> 230045.961197 [e 0 us, 0 rep]
[229832.518741] [drm:drm_ioctl] pid=2671, dev=0xe200, auth=1,
DRM_IOCTL_MODE_RMFB
[229832.518744] [drm:__drm_framebuffer_unreference] ffff8800d48fc820: FB ID: 0
(2)
[229832.518748] [drm:drm_framebuffer_unreference] ffff8800d48fc820: FB ID: 0
(1)
[229832.518771] [drm:drm_ioctl] pid=2671, dev=0xe200, auth=1, I915_GEM_THROTTLE
[229832.518861] [drm:drm_ioctl] pid=2671, dev=0xe200, auth=1, I915_GEM_THROTTLE
[229832.518932] [drm:drm_ioctl] pid=2671, dev=0xe200, auth=1, I915_GEM_THROTTLE
[229832.518998] [drm:drm_ioctl] pid=2671, dev=0xe200, auth=1, I915_GEM_THROTTLE
[229832.519016] [drm:drm_ioctl] pid=2692, dev=0xe200, auth=1,
DRM_IOCTL_GEM_OPEN
[229832.519031] [drm:drm_ioctl] pid=2692, dev=0xe200, auth=1,
I915_GEM_GET_TILING
[229832.519036] [drm:drm_ioctl] pid=2692, dev=0xe200, auth=1,
I915_GEM_SET_DOMAIN
[229832.519083] [drm:drm_ioctl] pid=2692, dev=0xe200, auth=1,
I915_GEM_SW_FINISH
[229832.519087] [drm:drm_ioctl] pid=2692, dev=0xe200, auth=1,
I915_GEM_EXECBUFFER2
[229832.519214] [drm:drm_ioctl] pid=2692, dev=0xe200, auth=1,
DRM_IOCTL_GEM_CLOSE
[229832.519229] [drm:drm_ioctl] pid=2692, dev=0xe200, auth=1, I915_GEM_MADVISE
[229832.519233] [drm:drm_ioctl] pid=2692, dev=0xe200, auth=1, I915_GEM_BUSY
[229832.519234] [drm:drm_ioctl] pid=2692, dev=0xe200, auth=1, I915_GEM_MADVISE
[229832.519236] [drm:drm_ioctl] pid=2692, dev=0xe200, auth=1,
I915_GEM_SET_DOMAIN
[229832.519302] [drm:drm_ioctl] pid=2671, dev=0xe200, auth=1,
DRM_IOCTL_MODE_GETCRTC
[229832.519336] [drm:drm_ioctl] pid=2671, dev=0xe200, auth=1,
DRM_IOCTL_WAIT_VBLANK
[229832.519340] [drm:drm_wait_vblank] waiting on vblank count 13778948, crtc 0
[229832.519342] [drm:drm_wait_vblank] returning 13778948 to client
[229832.519347] [drm:drm_ioctl] pid=2671, dev=0xe200, auth=1,
DRM_IOCTL_MODE_GETCRTC
[229832.519367] [drm:drm_ioctl] pid=2671, dev=0xe200, auth=1,
DRM_IOCTL_MODE_ADDFB
[229832.519384] [drm:drm_framebuffer_reference] ffff8800d48fc820: FB ID: 56 (1)
[229832.519387] [drm:drm_mode_addfb] [FB:56]
[229832.519390] [drm:drm_ioctl] pid=2671, dev=0xe200, auth=1,
DRM_IOCTL_MODE_GETCRTC
[229832.519405] [drm:drm_ioctl] pid=2671, dev=0xe200, auth=1,
DRM_IOCTL_MODE_PAGE_FLIP
[229832.519408] [drm:drm_framebuffer_reference] ffff8800d48fc820: FB ID: 56 (2)
[229832.519446] [drm:drm_framebuffer_unreference] ffff8800d48fcc30: FB ID: 57
(3)
[229832.519498] [drm:drm_ioctl] pid=2671, dev=0xe200, auth=1, I915_GEM_THROTTLE
[229832.519535] [drm:drm_ioctl] pid=2671, dev=0xe200, auth=1, I915_GEM_THROTTLE
[229832.527171] [drm:drm_ioctl] pid=2671, dev=0xe200, auth=1, I915_GEM_MADVISE
[229832.527176] [drm:drm_ioctl] pid=2671, dev=0xe200, auth=1,
I915_GEM_SET_TILING
[229832.527184] [drm:drm_ioctl] pid=2671, dev=0xe200, auth=1,
I915_GEM_SET_TILING
[229832.527192] [drm:drm_ioctl] pid=2671, dev=0xe200, auth=1, I915_GEM_BUSY
[229832.527194] [drm:drm_ioctl] pid=2671, dev=0xe200, auth=1,
I915_GEM_SET_DOMAIN
[229832.527348] [drm:drm_ioctl] pid=2671, dev=0xe200, auth=1, I915_GEM_PWRITE
[229832.527352] [drm:drm_ioctl] pid=2671, dev=0xe200, auth=1,
I915_GEM_EXECBUFFER2
[229832.527433] [drm:legacy_ringbuffer_submission] UXA submitting garbage DR4,
fixing up
[229832.527482] [drm:drm_ioctl] pid=2671, dev=0xe200, auth=1, I915_GEM_BUSY
[229832.527483] [drm:drm_ioctl] pid=2671, dev=0xe200, auth=1, I915_GEM_MADVISE
[229832.527495] [drm:drm_ioctl] pid=2671, dev=0xe200, auth=1, I915_GEM_MADVISE
[229832.527497] [drm:drm_ioctl] pid=2671, dev=0xe200, auth=1,
I915_GEM_SET_TILING
[229832.527504] [drm:drm_ioctl] pid=2671, dev=0xe200, auth=1,
I915_GEM_SET_TILING
[229832.527508] [drm:drm_ioctl] pid=2671, dev=0xe200, auth=1, I915_GEM_BUSY
[229832.527510] [drm:drm_ioctl] pid=2671, dev=0xe200, auth=1,
I915_GEM_SET_DOMAIN
[229832.527767] [drm:drm_ioctl] pid=2671, dev=0xe200, auth=1, I915_GEM_PWRITE
[229832.527770] [drm:drm_ioctl] pid=2671, dev=0xe200, auth=1, I915_GEM_PWRITE
[229832.527772] [drm:drm_ioctl] pid=2671, dev=0xe200, auth=1, I915_GEM_BUSY
[229832.527773] [drm:drm_ioctl] pid=2671, dev=0xe200, auth=1, I915_GEM_MADVISE
[229832.527775] [drm:drm_ioctl] pid=2671, dev=0xe200, auth=1, I915_GEM_PWRITE
[229832.527779] [drm:drm_ioctl] pid=2671, dev=0xe200, auth=1,
I915_GEM_EXECBUFFER2
[229832.527853] [drm:legacy_ringbuffer_submission] UXA submitting garbage DR4,
fixing up
[229832.527873] [drm:drm_ioctl] pid=2671, dev=0xe200, auth=1, I915_GEM_MADVISE
[229832.527875] [drm:drm_ioctl] pid=2671, dev=0xe200, auth=1, I915_GEM_MADVISE
[229832.527877] [drm:drm_ioctl] pid=2671, dev=0xe200, auth=1, I915_GEM_MADVISE
[229832.527885] [drm:drm_ioctl] pid=2671, dev=0xe200, auth=1, I915_GEM_BUSY
[229832.527887] [drm:drm_ioctl] pid=2671, dev=0xe200, auth=1, I915_GEM_MADVISE
[229832.527898] [drm:drm_ioctl] pid=2671, dev=0xe200, auth=1, I915_GEM_PWRITE
[229832.527900] [drm:drm_ioctl] pid=2671, dev=0xe200, auth=1, I915_GEM_PWRITE
[229832.527902] [drm:drm_ioctl] pid=2671, dev=0xe200, auth=1, I915_GEM_BUSY
[229832.527904] [drm:drm_ioctl] pid=2671, dev=0xe200, auth=1, I915_GEM_MADVISE
[229832.527906] [drm:drm_ioctl] pid=2671, dev=0xe200, auth=1, I915_GEM_PWRITE
[229832.527909] [drm:drm_ioctl] pid=2671, dev=0xe200, auth=1,
I915_GEM_EXECBUFFER2
[229832.527972] [drm:legacy_ringbuffer_submission] UXA submitting garbage DR4,
fixing up
[229832.528004] [drm:drm_ioctl] pid=2671, dev=0xe200, auth=1, I915_GEM_MADVISE
[229832.528006] [drm:drm_ioctl] pid=2671, dev=0xe200, auth=1, I915_GEM_MADVISE
[229832.528008] [drm:drm_ioctl] pid=2671, dev=0xe200, auth=1, I915_GEM_MADVISE
[229832.528012] [drm:drm_ioctl] pid=2671, dev=0xe200, auth=1, I915_GEM_PWRITE
[229832.528074] [drm:drm_ioctl] pid=2671, dev=0xe200, auth=1,
I915_GEM_EXECBUFFER2
[229832.528161] [drm:legacy_ringbuffer_submission] UXA submitting garbage DR4,
fixing up
[229832.528218] [drm:drm_ioctl] pid=2671, dev=0xe200, auth=1, I915_GEM_BUSY
[229832.528226] [drm:drm_ioctl] pid=2671, dev=0xe200, auth=1, I915_GEM_THROTTLE
[229832.529757] [drm:drm_ioctl] pid=2671, dev=0xe200, auth=1, I915_GEM_MADVISE
[229832.529761] [drm:drm_ioctl] pid=2671, dev=0xe200, auth=1,
I915_GEM_SET_TILING
[229832.529770] [drm:drm_ioctl] pid=2671, dev=0xe200, auth=1,
I915_GEM_SET_TILING
[229832.529794] [drm:drm_ioctl] pid=2671, dev=0xe200, auth=1, I915_GEM_PWRITE
[229832.529798] [drm:drm_ioctl] pid=2671, dev=0xe200, auth=1,
I915_GEM_EXECBUFFER2
[229832.529868] [drm:legacy_ringbuffer_submission] UXA submitting garbage DR4,
fixing up
[229832.529922] [drm:drm_ioctl] pid=2671, dev=0xe200, auth=1, I915_GEM_MADVISE
[229832.529943] [drm:drm_ioctl] pid=2671, dev=0xe200, auth=1, I915_GEM_BUSY
[229832.529949] [drm:drm_ioctl] pid=2671, dev=0xe200, auth=1, I915_GEM_THROTTLE
[229832.529997] [drm:drm_ioctl] pid=2671, dev=0xe200, auth=1, I915_GEM_THROTTLE
[229832.530068] [drm:drm_ioctl] pid=2671, dev=0xe200, auth=1, I915_GEM_THROTTLE
[229832.535331] [drm:drm_calc_vbltimestamp_from_scanoutpos] crtc 0 : v 7
p(0,-41)@ 230045.977219 -> 230045.977860 [e 0 us, 0 rep]

is a single frame's worth of dmesg output.

I'm going to remove drm.debug=7 and retest.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20140922/4820e979/attachment-0001.html>


More information about the intel-gfx-bugs mailing list