Ah. I see 9f54107f866a25cf670f81f7c52b8c108728c6a5 in git:// anongit.freedesktop.org/xorg/driver/xf86-video-intel, but that change looks i830-specific. We are running i915.
My i915_error_state looks like this in a few test runs this morning: localhost ~ # cd /sys/kernel/debug/dri/0/ localhost 0 # cat i915_error_state Time: 1288979468 s 955942 us EIR: 0x00000000 PGTBL_ER: 0x00000000 INSTPM: 0x00000000 IPEIR: 0x00000000 IPEHR: 0x01800002 INSTDONE: 0x7dffffc1 ACTHD: 0x07357014 and Time: 1288979853 s 607750 us EIR: 0x00000000 PGTBL_ER: 0x00000000 INSTPM: 0x00000000 IPEIR: 0x00000000 IPEHR: 0x01800002 INSTDONE: 0x7dffffc1 ACTHD: 0x00dbb014 and Time: 1288979982 s 718955 us EIR: 0x00000000 PGTBL_ER: 0x00000000 INSTPM: 0x00000000 IPEIR: 0x00000000 IPEHR: 0x01800002 INSTDONE: 0x7dffffc1 ACTHD: 0x058c5014 I see these values come pretty much straight from the registers. Unfortunately, my documentation (from http://intellinuxgraphics.org/documentation.html) is incomplete. I see G45 and G35 documentation there, but not G33 which is what i915 appears to be (based on what I see in the kernel driver code). The register addresses are different, and who knows what else. bryan. On Fri, Nov 5, 2010 at 2:16 AM, Chris Wilson <ch...@chris-wilson.co.uk>wrote: > On Thu, 4 Nov 2010 17:12:31 -0700, Bryan Freed <bfr...@chromium.org> > wrote: > > I have a situation where unplugging an external monitor and running an > > xrandr sequence to return the screen to the internal display sometimes > > causes the i915 driver to wig out. > > > > In perusing the intel-gfx archives, I see > > http://lists.freedesktop.org/archives/intel-gfx/2010-May/006957.htmlmakes a > > reference to "commit 9f54107f866a25cf670f81f7c52b8c108728c6a5", but I do > not > > see that commit in the drm-intel kernel. I am looking at git:// > > git.kernel.org/pub/scm/linux/kernel/git/ickle/drm-intel.git. Is this > not > > the right repo? > > That's in the DDX to fix up an X crash in swapbuffers. To debug GPU hangs > you'll want to decode /sys/kernel/debug/dri/0/i915_error_state. > -Chris > > -- > Chris Wilson, Intel Open Source Technology Centre >
_______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx