commit | ac0c6b5ad3b3b513e1057806d4b7627fcc0ecc27 | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Thu May 27 13:18:18 2010 +0100 |
committer | Eric Anholt <eric@anholt.net> | Fri May 28 10:43:38 2010 -0700 |
tree | 1085f046af6483d05b2bd6f3456881e534c1ea44 | |
parent | a7faf32d00529b9c501e37a31d4bf8acef4f8f59 [diff] |
drm/i915: Rebind bo if currently bound with incorrect alignment. Whilst pinning the buffer, check that that its current alignment matches the requested alignment. If it does not, rebind. This should clear up any final render errors whilst resuming, for reference: Bug 27070 - [i915] Page table errors with empty ringbuffer https://bugs.freedesktop.org/show_bug.cgi?id=27070 Bug 15502 - render error detected, EIR: 0x00000010 https://bugzilla.kernel.org/show_bug.cgi?id=15502 Bug 13844 - i915 error: "render error detected" https://bugzilla.kernel.org/show_bug.cgi?id=13844 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: stable@kernel.org Signed-off-by: Eric Anholt <eric@anholt.net>