From: bugzilla-daemon@freedesktop.org Subject: [Bug 56139] [bisected] kernel 3.7.0-rc1 breaks 6950 (CAYMAN) Date: Wed, 31 Oct 2012 19:13:52 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1102840903==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 4CDCA9E946 for ; Wed, 31 Oct 2012 12:13:52 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1102840903== Content-Type: multipart/alternative; boundary="1351710832.61F40.28866"; charset="us-ascii" --1351710832.61F40.28866 Date: Wed, 31 Oct 2012 19:13:52 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=56139 --- Comment #8 from Alex Deucher --- Created attachment 69370 --> https://bugs.freedesktop.org/attachment.cgi?id=69370&action=edit possible fix (In reply to comment #7) > Alex, would it be possible to print what is going on or if an error occurred > in evergreen_mc_stop()? > > I see four things that could be going on: > 1- we are not using the right path for CAYMAN -> (ASIC_IS_DCE6(rdev)); cayman is DCE5. It is using the correct code path. > 2- lock mechanism synced with vblank is not working properly; Locking makes updates atomic rather than double buffered. > 3- all the registers should be locked at the same time, then all modified > and finally unlocked together, which is not done with the for loop where we > move through each at a time; doesn't matter. > 4- we are not setting the right registers. The existing sequence should be correct. It's the same sequence our hw team recommends. I can't reproduce this on my cayman boards unfortunately and this patch fixes the exact same problem you are having for a number of other people :/ Maybe an issue with the icon or cursor, but I think those should be disabled when we disable mem requests in the crtc. Does this patch help? -- You are receiving this mail because: You are the assignee for the bug. --1351710832.61F40.28866 Date: Wed, 31 Oct 2012 19:13:52 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 8 on bug 56139 from
Created attachment 69370 [details] [review]
possible fix

(In reply to comment #7)
> Alex, would it be possible to print what is going on or if an error occurred
> in evergreen_mc_stop()?
> 
> I see four things that could be going on:
> 1- we are not using the right path for CAYMAN -> (ASIC_IS_DCE6(rdev));

cayman is DCE5.  It is using the correct code path.

> 2- lock mechanism synced with vblank is not working properly;

Locking makes updates atomic rather than double buffered.

> 3- all the registers should be locked at the same time, then all modified
> and finally unlocked together, which is not done with the for loop where we
> move through each at a time;

doesn't matter.

> 4- we are not setting the right registers.

The existing sequence should be correct.  It's the same sequence our hw team
recommends.  I can't reproduce this on my cayman boards unfortunately and this
patch fixes the exact same problem you are having for a number of other people
:/

Maybe an issue with the icon or cursor, but I think those should be disabled
when we disable mem requests in the crtc.  Does this patch help?


You are receiving this mail because:
  • You are the assignee for the bug.
--1351710832.61F40.28866-- --===============1102840903== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============1102840903==--