diff options
author | Jerome Glisse <jglisse@redhat.com> | 2013-01-02 15:12:14 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2013-01-03 13:18:39 -0500 |
commit | 74795486b2966975e54dc869ffc19bb481bc8111 (patch) | |
tree | e483dfb482f40ce726566e4aa6d2306d3c8f51ff /drivers | |
parent | 909d9eb67f1e4e39f2ea88e96bde03d560cde3eb (diff) |
drm/radeon: add debugfs file for dma rings
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_ring.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_ring.c b/drivers/gpu/drm/radeon/radeon_ring.c index ebd69562ef6c..9410e438455d 100644 --- a/drivers/gpu/drm/radeon/radeon_ring.c +++ b/drivers/gpu/drm/radeon/radeon_ring.c | |||
@@ -794,11 +794,15 @@ static int radeon_debugfs_ring_info(struct seq_file *m, void *data) | |||
794 | static int radeon_ring_type_gfx_index = RADEON_RING_TYPE_GFX_INDEX; | 794 | static int radeon_ring_type_gfx_index = RADEON_RING_TYPE_GFX_INDEX; |
795 | static int cayman_ring_type_cp1_index = CAYMAN_RING_TYPE_CP1_INDEX; | 795 | static int cayman_ring_type_cp1_index = CAYMAN_RING_TYPE_CP1_INDEX; |
796 | static int cayman_ring_type_cp2_index = CAYMAN_RING_TYPE_CP2_INDEX; | 796 | static int cayman_ring_type_cp2_index = CAYMAN_RING_TYPE_CP2_INDEX; |
797 | static int radeon_ring_type_dma1_index = R600_RING_TYPE_DMA_INDEX; | ||
798 | static int radeon_ring_type_dma2_index = CAYMAN_RING_TYPE_DMA1_INDEX; | ||
797 | 799 | ||
798 | static struct drm_info_list radeon_debugfs_ring_info_list[] = { | 800 | static struct drm_info_list radeon_debugfs_ring_info_list[] = { |
799 | {"radeon_ring_gfx", radeon_debugfs_ring_info, 0, &radeon_ring_type_gfx_index}, | 801 | {"radeon_ring_gfx", radeon_debugfs_ring_info, 0, &radeon_ring_type_gfx_index}, |
800 | {"radeon_ring_cp1", radeon_debugfs_ring_info, 0, &cayman_ring_type_cp1_index}, | 802 | {"radeon_ring_cp1", radeon_debugfs_ring_info, 0, &cayman_ring_type_cp1_index}, |
801 | {"radeon_ring_cp2", radeon_debugfs_ring_info, 0, &cayman_ring_type_cp2_index}, | 803 | {"radeon_ring_cp2", radeon_debugfs_ring_info, 0, &cayman_ring_type_cp2_index}, |
804 | {"radeon_ring_dma1", radeon_debugfs_ring_info, 0, &radeon_ring_type_dma1_index}, | ||
805 | {"radeon_ring_dma2", radeon_debugfs_ring_info, 0, &radeon_ring_type_dma2_index}, | ||
802 | }; | 806 | }; |
803 | 807 | ||
804 | static int radeon_debugfs_sa_info(struct seq_file *m, void *data) | 808 | static int radeon_debugfs_sa_info(struct seq_file *m, void *data) |