<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - NV11 black screen & kernel hang on loading nouveaufb"
href="https://bugs.freedesktop.org/show_bug.cgi?id=56461#c9">Comment # 9</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - NV11 black screen & kernel hang on loading nouveaufb"
href="https://bugs.freedesktop.org/show_bug.cgi?id=56461">bug 56461</a>
from <span class="vcard"><a class="email" href="mailto:chris@edesix.com" title="Chris Paulson-Ellis <chris@edesix.com>"> <span class="fn">Chris Paulson-Ellis</span></a>
</span></b>
<pre>Hi,
I only just realised that you sent me a second patch (I thought you were
referring to the first patch, so I went and did the bisect as per my previous
message). I've just tried the second patch against nouveau HEAD. Unfortunately
it causes a NULL pointer dereference. I think this is because when this line in
nv04_timer_init...
n = nouveau_hw_get_clock(((struct nouveau_drm *)nouveau_client(priv))->dev,
PLL_CORE);
...calls nouveau_client() it gets NULL, because the parent of nv04_timer_priv
is a nouveau_device, not a nouveau_drm. I can't see any way to get a pointer to
the drm_device from nv04_timer_init, so I don't think calling
nouveau_hw_get_clock from here is possible.
Chris.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>