Intel i915 freeze on latest git

Francesco Allertsen fallertsen at gmail.com
Wed Feb 2 03:46:54 PST 2011


On Wed, Feb 02, 2011 at 09:59:54AM +0000, Chris Wilson wrote:
> Hmm, that was the only change I could spot between the two patches. Care
> to disable that function and see what happens? [i.e. put a return before
> we write anything to the ring]

I've tried with the following patch

diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
index 7769768..2ef0333 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -6505,6 +6505,8 @@ void ironlake_enable_rc6(struct drm_device *dev)
        struct drm_i915_private *dev_priv = dev->dev_private;
        int ret;
 
+       return;
+
        /*
         * GPU can automatically power down the render unit if given a page
         * to save state.

So to return at the beginning of the function, and everything works
again.

Bye
Francesco


More information about the dri-devel mailing list