[Bug 64610] [845g regression] Suspend does not work on 845g with kernel 3.8.0-rc6

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jul 1 19:06:04 PDT 2013


https://bugs.freedesktop.org/show_bug.cgi?id=64610

--- Comment #10 from clockley1 <clockley1 at gmail.com> ---
(In reply to comment #9)
> 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.

Sorry about the delay, unfortunately this patch does not work, at least on this
machine.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20130702/e3acf0b2/attachment.html>


More information about the intel-gfx-bugs mailing list