<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO --- - [845g regression] Suspend does not work on 845g with kernel 3.8.0-rc6"
href="https://bugs.freedesktop.org/show_bug.cgi?id=64610#c10">Comment # 10</a>
on <a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO --- - [845g regression] Suspend does not work on 845g with kernel 3.8.0-rc6"
href="https://bugs.freedesktop.org/show_bug.cgi?id=64610">bug 64610</a>
from <span class="vcard"><a class="email" href="mailto:clockley1@gmail.com" title="clockley1 <clockley1@gmail.com>"> <span class="fn">clockley1</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=64610#c9">comment #9</a>)
<span class="quote">> Can you please try:
>
> diff --git a/drivers/gpu/drm/i915/intel_ringbuffer.c
> b/drivers/gpu/drm/i915/inte
> index 1d5d613..d1b3cc1 100644
> --- a/drivers/gpu/drm/i915/intel_ringbuffer.c
> +++ b/drivers/gpu/drm/i915/intel_ringbuffer.c
> @@ -1715,7 +1715,9 @@ int intel_init_render_ring_buffer(struct drm_device
> *dev)
> struct drm_i915_gem_object *obj;
> int ret;
>
> - obj = i915_gem_alloc_object(dev, I830_BATCH_LIMIT);
> + obj = i915_gem_object_create_stolen(dev, I830_BATCH_LIMIT);
> + if (obj == NULL)
> + obj = i915_gem_alloc_object(dev, I830_BATCH_LIMIT);
> if (obj == NULL) {
> DRM_ERROR("Failed to allocate batch bo\n");
> return -ENOMEM;
>
> Though I suspect we may need a SRC_COLOR command to clear the ring->private
> on every ring init.</span >
Sorry about the delay, unfortunately this patch does not work, at least on this
machine.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>