<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - No mouse cursor (invisible) with DVI cable"
href="https://bugs.freedesktop.org/show_bug.cgi?id=95146#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - No mouse cursor (invisible) with DVI cable"
href="https://bugs.freedesktop.org/show_bug.cgi?id=95146">bug 95146</a>
from <span class="vcard"><a class="email" href="mailto:caozong@iscas.ac.cn" title="caozong <caozong@iscas.ac.cn>"> <span class="fn">caozong</span></a>
</span></b>
<pre>I have some updates.
First,I have 4 kinds of environments:
vx900 KMS, vx900 UMS, cn700 KMS(bug), cn700 UMS.
And I tried to print all values of cursor-related registers
(PRIM_HI_FBOFFSET, PRIM_HI_CTRL, HI_FBOFFSET, HI_CONTROL).
I found that the cn700 platform use HI_FBOFFSET and HI_CONTROL which are for
second display to show cursor. And the others' value is 0. (the result is in
the attachment)
Then I check the code in drm-openchrome/driver/gpu/drm/via/via_crtc.c
/* Program the offset and turn on Hardware icon Cursor */
if (iga->index) {
VIA_WRITE(HI_FBOFFSET, iga->cursor_kmap.bo->offset);
VIA_WRITE(HI_CONTROL, 0xB6000005);
}else {
VIA_WRITE(PRIM_HI_FBOFFSET, iga->cursor_kmap.bo->offset);
VIA_WRITE(PRIM_HI_CTRL, 0x36000005);
}
On cn700, it's "else" that always takes place. The register for second display
is never set.
So I simply change the condition into true. HI_FBOFFSET and HI_CONTROL are set
correctly, but cursor is still not showing.</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>