* Empty /proc/dri/0/bufs queues -
@ 2011-08-11 21:08 Vipin
2011-08-13 16:34 ` Michel Dänzer
0 siblings, 1 reply; 2+ messages in thread
From: Vipin @ 2011-08-11 21:08 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 1727 bytes --]
Hello all,
*I think the first message got discarded, posting a second one*
I have been trying to study the radeon open source driver and have some
questions after turning the debug flag on.
System Information ---------------
uname -a
Linux gilubuntu1 3.0.1vipindebug #1 SMP Thu Aug 11 11:17:24 EDT 2011
i686 GNU/Linux
kernel option - drm.debug=1
glxinfo | grep rendering
direct rendering: Yes
lspci -vvv | grep ATI
01:00.0 VGA compatible controller: ATI Technologies Inc RV710 [Radeon HD
4550] (prog-if 00 [VGA controller])
Subsystem: ATI Technologies Inc Device 0104
lsmod - relevant entries
ttm 110688 1 radeon
drm_kms_helper 49424 1 radeon
drm 317625 5 radeon,ttm,drm_kms_helper
agpgart 56250 2 ttm,drm
i2c_algo_bit 10782 1 radeon
---------------------------------------------------------------------
Question 1.
Empty /proc/dri/0 bufs, queues files
Is this an expected behavior ?
I have tried generating extensive 3D workloads, but the file remains empty.
Question 2.
/sys/kernel/debug/dri/
There are two directories 0 & 64, what does the 64 entry signify ?
Question 3.
The contents of /sys/kernel/debug/dri/0 contains 15 radeon_ib_00xx
Does this mean, the card has 15 indirect buffers ? Also, does this
interface shows me the ringbuffer data like i915.
Question 4.
The kernel log shows entries like these (massive amounts)
Aug 11 13:19:01 gilubuntu1 kernel: [ 4251.705377] [drm:drm_ioctl],
pid=1544, cmd=0xc0086464, nr=0x64, dev 0xe200, auth=1
Aug 11 13:19:01 gilubuntu1 kernel: [ 4251.705394] [drm:r600_irq_set],
r600_irq_set: sw int
Shouldn't it have other debug entries other than these two ?
Thank You
Vipin Jain
[-- Attachment #1.2: Type: text/html, Size: 2967 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: Empty /proc/dri/0/bufs queues -
2011-08-11 21:08 Empty /proc/dri/0/bufs queues - Vipin
@ 2011-08-13 16:34 ` Michel Dänzer
0 siblings, 0 replies; 2+ messages in thread
From: Michel Dänzer @ 2011-08-13 16:34 UTC (permalink / raw)
To: Vipin; +Cc: dri-devel
On Don, 2011-08-11 at 17:08 -0400, Vipin wrote:
>
> *I think the first message got discarded, posting a second one*
It didn't, maybe it was delayed via the moderation queue.
> Empty /proc/dri/0 bufs, queues files
> Is this an expected behavior ?
Yes, these aren't relevant with KMS.
> /sys/kernel/debug/dri/
>
> There are two directories 0 & 64, what does the 64 entry signify ?
It corresponds to the control device node /dev/dri/controlD64 . There
are legacy/control/render nodes, but I don't remember the details about
the distinction.
> The contents of /sys/kernel/debug/dri/0 contains 15 radeon_ib_00xx
> Does this mean, the card has 15 indirect buffers ?
The card imposes no restrictions on the number of indirect buffers (IBs)
that can be allocated. The radeon driver pre-allocates 16 IBs for
dispatching commands to the GPU.
> Also, does this interface shows me the ringbuffer data like i915.
Yes.
> The kernel log shows entries like these (massive amounts)
> Aug 11 13:19:01 gilubuntu1 kernel: [ 4251.705377] [drm:drm_ioctl],
> pid=1544, cmd=0xc0086464, nr=0x64, dev 0xe200, auth=1
> Aug 11 13:19:01 gilubuntu1 kernel: [ 4251.705394] [drm:r600_irq_set],
> r600_irq_set: sw int
>
> Shouldn't it have other debug entries other than these two ?
It should, they might be drowned by these two. Or maybe you need to
enable more debugging messages e.g. with drm.debug=0x3 or =0x7.
--
Earthling Michel Dänzer | http://www.amd.com
Libre software enthusiast | Debian, X and DRI developer
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-08-13 16:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-11 21:08 Empty /proc/dri/0/bufs queues - Vipin
2011-08-13 16:34 ` Michel Dänzer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox