From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vipin Subject: Empty /proc/dri/0/bufs queues Date: Thu, 11 Aug 2011 13:34:50 -0400 Message-ID: <4E4412BA.9000508@nyu.edu> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0769286143==" Return-path: Received: from mx2.nyu.edu (MX2.NYU.EDU [128.122.118.242]) by gabe.freedesktop.org (Postfix) with ESMTP id 1B0919E79E for ; Thu, 11 Aug 2011 10:55:12 -0700 (PDT) Received: from mx2.nyu.edu (localhost [127.0.0.1]) by mx2.nyu.edu (8.13.8/8.13.8) with ESMTP id p7BHXaUo004461 for ; Thu, 11 Aug 2011 13:33:36 -0400 (EDT) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org This is a multi-part message in MIME format. --===============0769286143== Content-Type: multipart/alternative; boundary="------------060409020905040701080006" This is a multi-part message in MIME format. --------------060409020905040701080006 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hello all, 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 --------------060409020905040701080006 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hello all,

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







--------------060409020905040701080006-- --===============0769286143== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============0769286143==--