← Back to team overview

ubuntu-x-swat team mailing list archive

[Bug 424613] Re: [i945GM] GPU lockup with intel 2:2.8.1-1ubuntu1

 

The patch noted in comment #3 and #4 is now upstream in linus' tree.
This patch however is not in the Karmic kernel tree.

ogasawara@yoji:~/linux-2.6$ git show 0ef82af7253c1929a3995f271b8b0db462d1a0c3
commit 0ef82af7253c1929a3995f271b8b0db462d1a0c3
Author: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx>
Date:   Sat Sep 5 18:07:06 2009 +0100

    drm/i915: Pad ringbuffer with NOOPs before wrapping
    
    According to the docs, the ringbuffer is not allowed to wrap in the middle
    of an instruction.
    
    G45 PRM, Vol 1b, p101:
      While the “free space” wrap may allow commands to be wrapped around the
      end of the Ring Buffer, the wrap should only occur between commands.
      Padding (with NOP) may be required to follow this restriction.
    
    Do as commanded.
    
    [Having seen bug reports where there is evidence of split commands, but
    apparently the GPU has continued on merrily before a bizarre and untimely
    death, this may or may not fix a few random hangs.]
    
    Signed-off-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx>
    CC: Eric Anholt <eric@xxxxxxxxxx>
    Signed-off-by: Eric Anholt <eric@xxxxxxxxxx>

-- 
[i945GM] GPU lockup with intel 2:2.8.1-1ubuntu1
https://bugs.launchpad.net/bugs/424613
You received this bug notification because you are a member of Ubuntu-X,
which is the registrant for xf86-video-intel.



References