<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#ffffff">
<small>Hello all, <br>
<br>
*I think the first message got discarded, posting a second one*<br>
<br>
I have been trying to study the radeon open source driver and have
some questions after turning the debug flag on.<br>
<br>
System Information ---------------<br>
uname -a<br>
Linux gilubuntu1 3.0.1vipindebug #1 SMP Thu Aug 11 11:17:24 EDT
2011 i686 GNU/Linux<br>
<br>
kernel option - drm.debug=1<br>
glxinfo | grep rendering<br>
direct rendering: Yes<br>
<br>
lspci -vvv | grep ATI<br>
01:00.0 VGA compatible controller: ATI Technologies Inc RV710
[Radeon HD 4550] (prog-if 00 [VGA controller])<br>
Subsystem: ATI Technologies Inc Device 0104<br>
<br>
lsmod - relevant entries<br>
ttm 110688 1 radeon<br>
drm_kms_helper 49424 1 radeon<br>
drm 317625 5 radeon,ttm,drm_kms_helper<br>
agpgart 56250 2 ttm,drm<br>
i2c_algo_bit 10782 1 radeon<br>
---------------------------------------------------------------------<br>
Question 1.<br>
Empty /proc/dri/0 bufs, queues files<br>
Is this an expected behavior ? <br>
I have tried generating extensive 3D workloads, but the file
remains empty.<br>
<br>
Question 2.<br>
/sys/kernel/debug/dri/<br>
<br>
There are two directories 0 & 64, what does the 64 entry
signify ?<br>
<br>
Question 3. <br>
The contents of /sys/kernel/debug/dri/0 contains 15 radeon_ib_00xx
<br>
Does this mean, the card has 15 indirect buffers ? Also, does this
interface shows me the ringbuffer data like i915.<br>
<br>
Question 4.<br>
The kernel log shows entries like these (massive amounts)<br>
Aug 11 13:19:01 gilubuntu1 kernel: [ 4251.705377] [drm:drm_ioctl],
pid=1544, cmd=0xc0086464, nr=0x64, dev 0xe200, auth=1<br>
Aug 11 13:19:01 gilubuntu1 kernel: [ 4251.705394]
[drm:r600_irq_set], r600_irq_set: sw int<br>
<br>
Shouldn't it have other debug entries other than these two ?<br>
<br>
<br>
Thank You<br>
<br>
Vipin Jain<br>
<br>
<br>
<br>
<br>
<br>
<br>
</small>
</body>
</html>