From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org
Subject: [Bug 56461] NV11 black screen & kernel hang on loading
nouveaufb
Date: Sun, 03 Feb 2013 20:44:37 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1895534731=="
Return-path:
In-Reply-To:
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
--===============1895534731==
Content-Type: multipart/alternative; boundary="1359924277.7023CFAe2.20607"; charset="us-ascii"
--1359924277.7023CFAe2.20607
Date: Sun, 3 Feb 2013 20:44:37 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
https://bugs.freedesktop.org/show_bug.cgi?id=56461
--- Comment #42 from Chris Paulson-Ellis ---
I found the bug in commit cb75d97e that results in the incorrect GART aperture
and fixed it with this patch:
--- a/drivers/gpu/drm/nouveau/nouveau_compat.c
+++ b/drivers/gpu/drm/nouveau/nouveau_compat.c
@@ -17,7 +17,7 @@ nvdrm_gart_init(struct drm_device *dev, u64 *base, u64 *size)
struct nouveau_drm *drm = nouveau_newpriv(dev);
if (drm->agp.stat == ENABLED) {
*base = drm->agp.base;
- *size = drm->agp.base;
+ *size = drm->agp.size;
return 0;
}
return -ENODEV;
However, the display still fades to black. I now get an error that I didn't get
with the parent commit:
PFIFO_DMA_PUSHER - Ch 0 Get 0x04000000 Put 0x00001088 State 0xc0000000 (err:
MEM_FAULT) Push 0x00000000
This message appears at the end of enabling the LDVS output, so it's probably
related (I'll attach the console log).
I'm not sure how to debug further. I'm wondering in particular how to trace the
effect of various changes in commit cb75d97e, such as those made to
run_digital_op_script()? Perhaps I need to trace all register read/writes
during the devinit phase and compare to the parent commit? How would I do this?
--
You are receiving this mail because:
You are the assignee for the bug.
--1359924277.7023CFAe2.20607
Date: Sun, 3 Feb 2013 20:44:37 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Comment # 42
on bug 56461
from Chris Paulson-Ellis
I found the bug in commit cb75d97e that results in the incorrect GART aperture
and fixed it with this patch:
--- a/drivers/gpu/drm/nouveau/nouveau_compat.c
+++ b/drivers/gpu/drm/nouveau/nouveau_compat.c
@@ -17,7 +17,7 @@ nvdrm_gart_init(struct drm_device *dev, u64 *base, u64 *size)
struct nouveau_drm *drm = nouveau_newpriv(dev);
if (drm->agp.stat == ENABLED) {
*base = drm->agp.base;
- *size = drm->agp.base;
+ *size = drm->agp.size;
return 0;
}
return -ENODEV;
However, the display still fades to black. I now get an error that I didn't get
with the parent commit:
PFIFO_DMA_PUSHER - Ch 0 Get 0x04000000 Put 0x00001088 State 0xc0000000 (err:
MEM_FAULT) Push 0x00000000
This message appears at the end of enabling the LDVS output, so it's probably
related (I'll attach the console log).
I'm not sure how to debug further. I'm wondering in particular how to trace the
effect of various changes in commit cb75d97e, such as those made to
run_digital_op_script()? Perhaps I need to trace all register read/writes
during the devinit phase and compare to the parent commit? How would I do this?
You are receiving this mail because:
- You are the assignee for the bug.
--1359924277.7023CFAe2.20607--
--===============1895534731==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Nouveau mailing list
Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
http://lists.freedesktop.org/mailman/listinfo/nouveau
--===============1895534731==--