Launchpad has imported 35 comments from the remote bug at
https://bugs.freedesktop.org/show_bug.cgi?id=34014.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2011-02-08T02:26:41+00:00 Bryce Harrington wrote:

Forwarding this bug from Ubuntu reporter mkis62:
http://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/714719

[Problem]
GPU lockup (of the "Hangcheck timer elapsed" variety) on 2.6.38-2 kernel and 
2.14.0 intel driver with i915gm hardware.  No compositor is running.

[Original Description]
X crashed while setting preferences in Decibel Audio Player
tty1-6 works ... rebooting...

>From GPU dump:
ACTHD: 0xffffffff
EIR: 0x00000000
EMR: 0xffffffed
ESR: 0x00000001
PGTBL_ER: 0x00000000
IPEHR: 0x02000004
IPEIR: 0x00000000
INSTDONE: 0x03c7c081
    busy: IDCT
    busy: IQ
    busy: PR
    busy: VLD
    busy: Instruction parser
    busy: Windowizer
    busy: Intermediate Z
    busy: Perspective interpolation
    busy: Texture decompression
    busy: Sampler Cache
    busy: Filtering
    busy: Bypass FIFO
    busy: Pixel shader
    busy: Color calculator
    busy: Map L2

>From dmesg:
[ 2026.252160] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer elapsed... 
GPU hung
[ 2026.254795] [drm:i915_do_wait_request] *ERROR* i915_do_wait_request returns 
-11 (awaiting 402290 at 402288, next 402291)


DistroRelease: Ubuntu 11.04
Package: xserver-xorg-video-intel 2:2.14.0-1ubuntu6
ProcVersionSignature: Ubuntu 2.6.38-2.29-generic 2.6.38-rc3
Uname: Linux 2.6.38-2-generic i686
Architecture: i386
Chipset: i915gm
CompisitorRunning: None
DRM.card0.LVDS.1:
 status: connected
 enabled: enabled
 dpms: On
 modes: 1024x768
 edid-base64: DRM.card0.VGA.1:
 status: disconnected
 enabled: disabled
 dpms: Off
 modes:
 edid-base64:
Date: Mon Feb  7 18:50:19 2011
DistUpgraded: Yes, recently upgraded Log time: 2011-01-03 14:04:23.058239
DistroCodename: natty
DistroVariant: ubuntu
DumpSignature: 82856c05
ExecutablePath: /usr/share/apport/apport-gpu-error-intel.py
GconfCompiz:

GraphicsCard:
 Subsystem: Acer Incorporated [ALI] Device [1025:006a]
   Subsystem: Acer Incorporated [ALI] Device [1025:006a]
InterpreterPath: /usr/bin/python2.7
MachineType: Acer TravelMate 2410
PccardctlIdent:
 Socket 0:
   no product info available
PccardctlStatus:
 Socket 0:
   no card
ProcCmdline: /usr/bin/python /usr/share/apport/apport-gpu-error-intel.py
ProcEnviron:

ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-2-generic 
root=UUID=263aecd1-0156-49f9-8d5e-99e8079b240f ro gfxpayload=true quiet splash 
vt.handoff=7
ProcKernelCmdLine_: BOOT_IMAGE=/boot/vmlinuz-2.6.38-2-generic 
root=UUID=263aecd1-0156-49f9-8d5e-99e8079b240f ro gfxpayload=true quiet splash 
vt.handoff=7
RelatedPackageVersions:
 xserver-xorg 1:7.6~3ubuntu3
 libdrm2 2.4.23-1ubuntu3
 xserver-xorg-video-intel 2:2.14.0-1ubuntu6
Renderer: Hardware acceleration
SourcePackage: xserver-xorg-video-intel
Title: [i915gm] GPU lockup 82856c05
UserGroups:

dmi.bios.date: 02/07/2006
dmi.bios.vendor: Phoenix Technologies LTD
dmi.bios.version: V1.09
dmi.board.name: Morar
dmi.board.vendor: Acer
dmi.board.version: Rev
dmi.chassis.asset.tag: None
dmi.chassis.type: 10
dmi.chassis.vendor: Acer
dmi.chassis.version: N/A
dmi.modalias: 
dmi:bvnPhoenixTechnologiesLTD:bvrV1.09:bd02/07/2006:svnAcer:pnTravelMate2410:pvr0100:rvnAcer:rnMorar:rvrRev:cvnAcer:ct10:cvrN/A:
dmi.product.name: TravelMate 2410
dmi.product.version: 0100
dmi.sys.vendor: Acer
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.23-1ubuntu3
version.libgl1-mesa-glx: libgl1-mesa-glx 7.10-1ubuntu1
version.xserver-xorg: xserver-xorg 1:7.6~3ubuntu3
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.14.0-1ubuntu6

Reply at: https://bugs.launchpad.net/ubuntu-release-
notes/+bug/727594/comments/0

------------------------------------------------------------------------
On 2011-02-08T02:27:09+00:00 Bryce Harrington wrote:

Created attachment 43065
i915_error_state.txt

Reply at: https://bugs.launchpad.net/ubuntu-release-
notes/+bug/727594/comments/1

------------------------------------------------------------------------
On 2011-02-08T02:28:40+00:00 Bryce Harrington wrote:

Created attachment 43066
BootDmesg.txt

Reply at: https://bugs.launchpad.net/ubuntu-release-
notes/+bug/727594/comments/2

------------------------------------------------------------------------
On 2011-02-08T02:29:11+00:00 Bryce Harrington wrote:

Created attachment 43067
CurrentDmesg.txt

Reply at: https://bugs.launchpad.net/ubuntu-release-
notes/+bug/727594/comments/3

------------------------------------------------------------------------
On 2011-02-08T02:29:45+00:00 Bryce Harrington wrote:

Created attachment 43068
XorgLog.txt

Reply at: https://bugs.launchpad.net/ubuntu-release-
notes/+bug/727594/comments/4

------------------------------------------------------------------------
On 2011-02-08T02:30:08+00:00 Bryce Harrington wrote:

Created attachment 43069
XorgLogOld.txt

Reply at: https://bugs.launchpad.net/ubuntu-release-
notes/+bug/727594/comments/5

------------------------------------------------------------------------
On 2011-02-08T02:30:37+00:00 Bryce Harrington wrote:

This bugzilla won't let me attach the gpu dump, but here's a permalink
to it:

https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-
intel/+bug/714719/+attachment/1836510/+files/IntelGpuDump.txt

Reply at: https://bugs.launchpad.net/ubuntu-release-
notes/+bug/727594/comments/6

------------------------------------------------------------------------
On 2011-02-08T09:40:02+00:00 Chris Wilson wrote:

*** Bug 34015 has been marked as a duplicate of this bug. ***

Reply at: https://bugs.launchpad.net/ubuntu-release-
notes/+bug/727594/comments/7

------------------------------------------------------------------------
On 2011-02-08T09:42:02+00:00 Chris Wilson wrote:

This patch would confirm my hypothesis that is an invalid unfenced
alignment:

diff --git a/drivers/gpu/drm/i915/i915_gem.c b/drivers/gpu/drm/i915/i915_gem.c
index f136899..c970b81 100644
--- a/drivers/gpu/drm/i915/i915_gem.c
+++ b/drivers/gpu/drm/i915/i915_gem.c
@@ -1416,6 +1416,7 @@ i915_gem_get_unfenced_gtt_alignment(struct drm_i915_gem_ob
            obj->tiling_mode == I915_TILING_NONE)
                return 4096;
 
+       return i915_gem_get_gtt_size(obj);
        /*
         * Older chips need unfenced tiled buffers to be aligned to the left
         * edge of an even tile row (where tile rows are counted as if the bo is

Reply at: https://bugs.launchpad.net/ubuntu-release-
notes/+bug/727594/comments/8

------------------------------------------------------------------------
On 2011-02-22T23:29:38+00:00 Bryce Harrington wrote:

We packaged this patch into a kernel for the bug reporter to test:

   http://people.canonical.com/~apw/lp714719-natty/

We have not yet heard back from him in a couple weeks.

However, we asked other bug reporters with vaguely similar lockups to
test as well, and this past weekend one of them tested it and provided
the following dmesg after reproducing a lockup.

   https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-
intel/+bug/718767/+attachment/1861287/+files/dmesg.txt

Reply at: https://bugs.launchpad.net/ubuntu-release-
notes/+bug/727594/comments/9

------------------------------------------------------------------------
On 2011-03-06T22:12:21+00:00 Ranma+freedesktop wrote:

Hmm, I think I'm seeing this too on my X41T:

Recently upgraded Debian and kernel and got gpu hangs again.
I upgraded to latest libdrm2 and xf86-video-intel, but still getting gpu hangs.
Especially chrome seems to have a knack for causing these (aggressive use of 
acceleration features I guess).

Linux navi 2.6.38-rc7 #64 PREEMPT Sun Mar 6 14:32:50 CET 2011 i686
GNU/Linux

ii  libdrm2        2.4.24-1       Userspace interface to kernel DRM services -
ii  xserver-xorg-v 2:2.14.901-1   X.Org X server -- Intel i8xx, i9xx display d

(Both built myself from newest upstream packages released last week).


intel_gpu_dump:
ACTHD: 0xffffffff
EIR: 0x00000000
EMR: 0xffffffed
ESR: 0x00000001
PGTBL_ER: 0x00000000
IPEHR: 0x02000004
IPEIR: 0x00000000
INSTDONE: 0x038ff8c1
    busy: IDCT
    busy: IQ
    busy: PR
    busy: VLD
    busy: Instruction parser
    busy: Setup engine
    busy: Windowizer
    busy: Intermediate Z
    busy: Bypass FIFO
    busy: Pixel shader
    busy: Color calculator
Ringbuffer: Reminder: head pointer is GPU read, tail pointer is CPU write
ringbuffer at 0x00000000:
(copy&paste from terminal, forgot to redirect into file before resetting the 
gpu with a suspend-resume cycle).

dmesg:
[29103.032023] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer elapsed... 
GPU hung
[29103.032023] [drm:i915_do_wait_request] *ERROR* i915_do_wait_request returns 
-11 (awaiting 1775973 at 1775971, next 1775974)
[29103.032023] [drm:i915_reset] *ERROR* Failed to reset chip.


00:02.0 VGA compatible controller: Intel Corporation Mobile 915GM/GMS/910GML 
Express Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 915GM/GMS/910GML Express 
Graphics Controller (rev 03)

00:02.0 0300: 8086:2592 (rev 03)
00:02.1 0380: 8086:2792 (rev 03)


Vendor: 0x8086, Device: 0x2592, Revision: 0x03 (B1/C0)

Reply at: https://bugs.launchpad.net/ubuntu-release-
notes/+bug/727594/comments/13

------------------------------------------------------------------------
On 2011-03-06T22:18:49+00:00 Ranma+freedesktop wrote:

BTW, while a suspend-resume should reset the gpu, I see this:

[31055.564022] [drm] Manually setting wedged to 0
[31055.564022] [drm:i915_reset] *ERROR* Failed to reset chip.
Why does it fail?
The units are not busy anymore according to intel_gpu_top, so I'd expect "echo 
0 > /sys/kernel/debug/dri/0/i915_wedged" should unwedge it, but it doesn't

Reply at: https://bugs.launchpad.net/ubuntu-release-
notes/+bug/727594/comments/14

------------------------------------------------------------------------
On 2011-03-06T22:21:19+00:00 Ranma+freedesktop wrote:

Created attachment 44183
i915 dump after s2mem (tried to recover from wedged gpu), but i915 claims it 
still can't reset the gpu

Reply at: https://bugs.launchpad.net/ubuntu-release-
notes/+bug/727594/comments/15

------------------------------------------------------------------------
On 2011-03-08T10:59:29+00:00 Chris Wilson wrote:

(In reply to comment #11)
> BTW, while a suspend-resume should reset the gpu, I see this:
> 
> [31055.564022] [drm] Manually setting wedged to 0
> [31055.564022] [drm:i915_reset] *ERROR* Failed to reset chip.
> Why does it fail?

It fails because we have not found the means to successfully reset that
chipset yet. It may well be the only way is to power cycle the PCI
device. Meh.

> The units are not busy anymore according to intel_gpu_top, so I'd expect "echo
> 0 > /sys/kernel/debug/dri/0/i915_wedged" should unwedge it, but it doesn't

The units are idle because the chip hit a fatal error and disabled those
units.

Reply at: https://bugs.launchpad.net/ubuntu-release-
notes/+bug/727594/comments/16

------------------------------------------------------------------------
On 2011-03-13T19:40:32+00:00 Ranma+freedesktop wrote:

(In reply to comment #13)
> (In reply to comment #11)
> > BTW, while a suspend-resume should reset the gpu, I see this:
> > 
> > [31055.564022] [drm] Manually setting wedged to 0
> > [31055.564022] [drm:i915_reset] *ERROR* Failed to reset chip.
> > Why does it fail?
> 
> It fails because we have not found the means to successfully reset that 
> chipset
> yet. It may well be the only way is to power cycle the PCI device. Meh.
> 
> > The units are not busy anymore according to intel_gpu_top, so I'd expect 
> > "echo
> > 0 > /sys/kernel/debug/dri/0/i915_wedged" should unwedge it, but it doesn't
> 
> The units are idle because the chip hit a fatal error and disabled those 
> units.

I don't think so.  They are only idle after coming back out of suspend to ram, 
so I think it's probably because the GPU was power-cycled.
Both resume from disk and resume from ram have the same effect here.
I think it would be very helpful if KMS/DRM could recover from the GPU hang 
after suspend to ram or suspend to disk, when the GPU was power-cycled.  It 
used to be the case that 'echo 1 > i915_wedged' would restart the driver after 
resume, but it seems some internals have changed so that this no longer works.  
If it would be able to recover in this case it would avoid the need to 
completely reboot the system to recover.

Reply at: https://bugs.launchpad.net/ubuntu-release-
notes/+bug/727594/comments/17

------------------------------------------------------------------------
On 2011-03-15T08:53:40+00:00 Chris Wilson wrote:

*** Bug 34948 has been marked as a duplicate of this bug. ***

Reply at: https://bugs.launchpad.net/ubuntu-release-
notes/+bug/727594/comments/18

------------------------------------------------------------------------
On 2011-03-15T08:55:18+00:00 Chris Wilson wrote:

Created attachment 44468
i915_error_state from #34948

Attaching another i915_error_state variant.

Reply at: https://bugs.launchpad.net/ubuntu-release-
notes/+bug/727594/comments/19

------------------------------------------------------------------------
On 2011-03-20T11:05:05+00:00 Chris Wilson wrote:

Can you give drm-intel-staging, and in particular,

commit 0faba0d4e49361886b16c703995a3477951b14e5
Author: Chris Wilson <ch...@chris-wilson.co.uk>
Date:   Thu Mar 17 15:23:22 2011 +0000

    drm/i915: Fix tiling corruption from pipelined fencing
    
    ... even though it was disabled. A mistake in the handling of fence reuse
    caused us to skip the vital delay of waiting for the object to finish
    rendering before changing the register.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=34584
    Cc: Andy Whitcroft <a...@canonical.com>
    Cc: Daniel Vetter <daniel.vet...@ffwll.ch>
    Reviewed-by: Daniel Vetter <daniel.vet...@ffwll.ch>
    [Note for 2.6.38-stable, we need to reintroduce the interruptible passing]
    Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk>

a whirl?

Reply at: https://bugs.launchpad.net/ubuntu-release-
notes/+bug/727594/comments/20

------------------------------------------------------------------------
On 2011-03-23T06:54:15+00:00 Chris Wilson wrote:

Working on the theory that it is one and the same bug:

commit b5b5ac2dec49ea5ae033434efa90863aa5cdfb2c
Author: Chris Wilson <ch...@chris-wilson.co.uk>
Date:   Thu Mar 17 15:23:22 2011 +0000

    drm/i915: Fix tiling corruption from pipelined fencing
    
    ... even though it was disabled. A mistake in the handling of fence reuse
    caused us to skip the vital delay of waiting for the object to finish
    rendering before changing the register.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=34584
    Cc: Andy Whitcroft <a...@canonical.com>
    Cc: Daniel Vetter <daniel.vet...@ffwll.ch>
    Reviewed-by: Daniel Vetter <daniel.vet...@ffwll.ch>
    [Note for 2.6.38-stable, we need to reintroduce the interruptible passing]
    Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk>
    Tested-by: Dave Airlie <airl...@linux.ie>

Reply at: https://bugs.launchpad.net/ubuntu-release-
notes/+bug/727594/comments/24

------------------------------------------------------------------------
On 2011-03-25T08:01:47+00:00 Bryce Harrington wrote:

Original reporter tested a kernel that includes commit b5b5ac2d patched
in and says he still sees the hang:

David Coggins wrote on 2011-03-20:
The system froze for me testing the latest natty 2.6.38-7.36 which should 
incorporate the fix for bug 717114

drm/i915: Fix tiling corruption from pipelined fencing

Mar 21 11:29:13 eee kernel: [ 0.000000] Linux version 2.6.38-7-generic
(buildd@roseapple) (gcc version 4.5.2 (Ubuntu/Linaro 4.5.2-6ubuntu4) )
#36-Ubuntu SMP Fri Mar 18 22:05:25 UTC 2011 (Ubuntu 2.6.38-7.36-generic
2.6.38)

Mar 21 11:47:30 eee kernel: [ 1115.992048] [drm:i915_hangcheck_elapsed] *ERROR* 
Hangcheck timer elapsed... GPU hung
Mar 21 11:47:30 eee kernel: [ 1115.998408] [drm:i915_do_wait_request] *ERROR* 
i915_do_wait_request returns -11 (awaiting 110179 at 110177, next 110180)

Apport is not generating a problem popup when I next reboot at the moment.
A small amount of testing with the terminal does not show any corruption which 
I was seeing 2 weeks ago bug 717114

Reply at: https://bugs.launchpad.net/ubuntu-release-
notes/+bug/727594/comments/25

------------------------------------------------------------------------
On 2011-03-26T09:18:20+00:00 Chris Wilson wrote:

*** Bug 35608 has been marked as a duplicate of this bug. ***

Reply at: https://bugs.launchpad.net/ubuntu-release-
notes/+bug/727594/comments/27

------------------------------------------------------------------------
On 2011-03-26T09:19:16+00:00 Chris Wilson wrote:

Created attachment 44880
i915_error_state from #35608

Reply at: https://bugs.launchpad.net/ubuntu-release-
notes/+bug/727594/comments/28

------------------------------------------------------------------------
On 2011-03-26T09:22:22+00:00 Chris Wilson wrote:

*** Bug 35647 has been marked as a duplicate of this bug. ***

Reply at: https://bugs.launchpad.net/ubuntu-release-
notes/+bug/727594/comments/29

------------------------------------------------------------------------
On 2011-03-26T09:23:21+00:00 Chris Wilson wrote:

Created attachment 44881
i915_error_state from #35647

Reply at: https://bugs.launchpad.net/ubuntu-release-
notes/+bug/727594/comments/30

------------------------------------------------------------------------
On 2011-04-06T06:05:54+00:00 Chris Wilson wrote:

*** Bug 36000 has been marked as a duplicate of this bug. ***

Reply at: https://bugs.launchpad.net/ubuntu-release-
notes/+bug/727594/comments/32

------------------------------------------------------------------------
On 2011-04-06T06:06:30+00:00 Chris Wilson wrote:

Created attachment 45335
i915_error_state from #36000

Reply at: https://bugs.launchpad.net/ubuntu-release-
notes/+bug/727594/comments/33

------------------------------------------------------------------------
On 2011-04-12T07:01:22+00:00 Knut-petersen wrote:

I suspect that this bug is related to Bug 36147

Test if reverting commit cc930a37612341a1f2457adb339523c215879d82
helps

Reply at: https://bugs.launchpad.net/ubuntu-release-
notes/+bug/727594/comments/37

------------------------------------------------------------------------
On 2011-04-12T08:10:46+00:00 Chris Wilson wrote:

Bryce, I'm confident that Knut identified the same issue and so
disabling relaxed-fencing for the release should fix these as well. (I
have lingering doubts since we tried the obvious kernel workarounds, but
then again I think we may have a fundamental bug in our allocation ala
gen2.) Obviously, if I am wrong, let's open the bug again.


commit 686018f283f1d131073ef5917213e6a8ac013f26
Author: Chris Wilson <ch...@chris-wilson.co.uk>
Date:   Tue Apr 12 08:23:04 2011 +0100

    Turn relaxed-fencing off by default for older (pre-G33) chipsets
    
    There are still too many unresolved bugs, typically GPU hangs, that are
    related to using relaxed fencing (i.e. only allocating the minimal
    amount of memory required for a buffer) on older hardware, so turn off
    the feature by default for the release.
    
    Reported-and-tested-by: Knut Petersen <knut_peter...@t-online.de>
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=36147
    Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk>
    Acked-by: Daniel Vetter <daniel.vet...@ffwll.ch>

Reply at: https://bugs.launchpad.net/ubuntu-release-
notes/+bug/727594/comments/38

------------------------------------------------------------------------
On 2011-04-12T15:29:42+00:00 James Le Cuirot wrote:

I can't look too deeply into it right now but it looks like this hasn't
fixed it for me. The xf86-video-intel I built definitely included that
commit and I was running 2.6.38.2.

Reply at: https://bugs.launchpad.net/ubuntu-release-
notes/+bug/727594/comments/39

------------------------------------------------------------------------
On 2011-04-25T07:22:05+00:00 Gordon Jin wrote:

Reopening, though I'm not sure if Cuirot is the reporter.

Chris, if it does fix, I'd suggest marking dup as resolution.

Reply at: https://bugs.launchpad.net/ubuntu-release-
notes/+bug/727594/comments/62

------------------------------------------------------------------------
On 2011-04-25T11:59:28+00:00 James Le Cuirot wrote:

If we're going to use surnames, it's Le Cuirot please!

I'm not the reporter and I'm not 100% sure that my issue is the same but
it is very telling that all these similar bug reports sprung up around
the same time.

I would do a bisect but it's my wife's laptop and I haven't found a
quick way to reproduce the issue. It usually occurs around 15 minutes
into using Chromium. If someone could suggest a reliable way to
reproduce it (like a GPU stress tester?) then I'll give it a try.

Reply at: https://bugs.launchpad.net/ubuntu-release-
notes/+bug/727594/comments/63

------------------------------------------------------------------------
On 2011-05-25T11:57:54+00:00 James Le Cuirot wrote:

Still happening on 2.6.39. :(

Reply at: https://bugs.launchpad.net/ubuntu-release-
notes/+bug/727594/comments/81

------------------------------------------------------------------------
On 2011-07-08T10:16:04+00:00 Chris Wilson wrote:

Created attachment 48884
Use full-fence size for alignment on pre-G33

The complication was that there was a second bug that prevented the
original patch from preventing the unalignment of the buffers.

Reply at: https://bugs.launchpad.net/ubuntu-release-
notes/+bug/727594/comments/83

------------------------------------------------------------------------
On 2011-07-18T14:43:57+00:00 Chris Wilson wrote:

Patch posted for inclusion.

Reply at: https://bugs.launchpad.net/ubuntu-release-
notes/+bug/727594/comments/84

------------------------------------------------------------------------
On 2011-07-29T09:38:25+00:00 Chris Wilson wrote:

commit e28f87116503f796aba4fb27d81e2c3d81966174
Author: Chris Wilson <ch...@chris-wilson.co.uk>
Date:   Mon Jul 18 13:11:49 2011 -0700

    drm/i915: Fix unfenced alignment on pre-G33 hardware
    
    Align unfenced buffers on older hardware to the power-of-two object
    size.  The docs suggest that it should be possible to align only to a
    power-of-two tile height, but using the already computed fence size is
    easier and always correct. We also have to make sure that we unbind
    misaligned buffers upon tiling changes.
    
    In order to prevent a repetition of this bug, we change the interface
    to the alignment computation routines to force the caller to provide
    the requested alignment and size of the GTT binding rather than assume
    the current values on the object.
    
    Reported-and-tested-by: Sitosfe Wheeler <sits...@yahoo.com>
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=36326
    Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk>
    Cc: sta...@kernel.org
    Reviewed-by: Daniel Vetter <daniel.vet...@ffwll.ch>
    Signed-off-by: Keith Packard <kei...@keithp.com>

Reply at: https://bugs.launchpad.net/ubuntu-release-
notes/+bug/727594/comments/85


** Bug watch added: freedesktop.org Bugzilla #34584
   https://bugs.freedesktop.org/show_bug.cgi?id=34584

** Bug watch added: freedesktop.org Bugzilla #36147
   https://bugs.freedesktop.org/show_bug.cgi?id=36147

** Bug watch added: freedesktop.org Bugzilla #36326
   https://bugs.freedesktop.org/show_bug.cgi?id=36326

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xserver-xorg-video-intel in Ubuntu.
https://bugs.launchpad.net/bugs/727594

Title:
  SRU: [i915gm] GPU lockup (ESR: 0x00000001 IPEHR: 0x02000004)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-release-notes/+bug/727594/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to     : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp

Reply via email to