From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 50121] New: [Regression] NV34 Fx5200 fails to resume with commit 5d720f2450 Date: Sat, 19 May 2012 16:33:58 +0000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nouveau-bounces+gcfxn-nouveau=m.gmane.org-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Errors-To: nouveau-bounces+gcfxn-nouveau=m.gmane.org-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org https://bugs.freedesktop.org/show_bug.cgi?id=50121 Bug #: 50121 Summary: [Regression] NV34 Fx5200 fails to resume with commit 5d720f2450 Classification: Unclassified Product: xorg Version: git Platform: x86 (IA32) OS/Version: Linux (All) Status: NEW Severity: normal Priority: medium Component: Driver/nouveau AssignedTo: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org ReportedBy: ronald645-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org QAContact: xorg-team-go0+a7rfsptAfugRpC6u6w@public.gmane.org Created attachment 61851 --> https://bugs.freedesktop.org/attachment.cgi?id=61851 Dmesg log of bad resume The following commit: Author: Ben Skeggs Date: Mon Apr 30 13:55:29 2012 +1000 drm/nouveau/fence: convert to exec engine, and improve channel sync Now have a somewhat simpler semaphore sync implementation for nv17:nv84, and a switched to using semaphores as fences on nv84+ and making use of the hardware's >= acquire operation. Probably causes the FX5200 to fail to resume. I'm not 100% completely sure, since reverting this commit on top of head is not without conflicts since the revent cleanups and reworks. I cannot proceed without help. If someone could generate a revert of this commit on top of current HEAD, I will then be able to confirm this is the exact bad commit. Further down below you will only find computer generated output (in this order): - The git bisect log - The output of lspci for the nvidia card - A list of currently used userspace packages (with version) from https://launchpad.net/~xorg-edgers/+archive/ppa: - Attached: The file nouveau.bad.resume.txt shows dmesg output of a bad resume (commit 1d226cc142b). - Attached: The file nouveau.good.resume.txt shows dmesg output of a good resume (commit 5d720f245). gebruiker@Delta:~/Documenten/Ronald/linux-git$ git bisect log git bisect start # bad: [0e29f737548c749482371ba307a6de15ae2c1956] drm/nouveau: make engine subclass subdev, and noaccel a bitfield git bisect bad 0e29f737548c749482371ba307a6de15ae2c1956 # good: [9eb608d0091c11e5712b421c8d3c7cec8950d14e] drm/nv04/disp: disable vblank interrupts when disabling display git bisect good 9eb608d0091c11e5712b421c8d3c7cec8950d14e # bad: [da9472c2db711fb589e248566ea17288d3c993e5] drm/nv04/software: fix engine creation git bisect bad da9472c2db711fb589e248566ea17288d3c993e5 # bad: [f903665be55c7d347bcfd684745026af30439a8d] drm/nv50: remove execution engine context saves on suspend git bisect bad f903665be55c7d347bcfd684745026af30439a8d # bad: [da495ac412f6a70185305facd756f0f04fb5fd3b] drm/nouveau: fix engine context destructor ordering git bisect bad da495ac412f6a70185305facd756f0f04fb5fd3b # good: [11d9712f6d91203bd3f34ef2cebf1fd188e73756] drm/nouveau: move flip-related channel setup to software engine git bisect good 11d9712f6d91203bd3f34ef2cebf1fd188e73756 # good: [1d226cc142b4e504150b9d5455545720fbde6f1f] drm/nouveau/fence: minor api changes for an upcoming rework git bisect good 1d226cc142b4e504150b9d5455545720fbde6f1f # bad: [5d720f24505c3fb6b4740fbf5b6e99839de2fbd9] drm/nouveau/fence: convert to exec engine, and improve channel sync git bisect bad 5d720f24505c3fb6b4740fbf5b6e99839de2fbd9 root@Delta:/var/log# lspci -s 01:00.0 -vvvv -nnnn 01:00.0 VGA compatible controller [0300]: NVIDIA Corporation NV34 [GeForce FX 5200] [10de:0322] (rev a1) (prog-if 00 [VGA controller]) Subsystem: ASUSTeK Computer Inc. Device [1043:80df] Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- SERR-