Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 166539
b: refs/heads/master
c: f4e45d0
h: refs/heads/master
i:
  166537: 6d604b5
  166535: 2a4c961
v: v3
  • Loading branch information
Mikael Pettersson authored and Dave Airlie committed Sep 29, 2009
1 parent 28f9e2d commit c9cd9f6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: bea1d35b8e1533ac493305b3efe04a4b7def8a7f
refs/heads/master: f4e45d02e4135043fe98bc21be38527c516ad990
7 changes: 3 additions & 4 deletions trunk/drivers/gpu/drm/radeon/radeon_ttm.c
Original file line number Diff line number Diff line change
Expand Up @@ -689,9 +689,6 @@ struct ttm_backend *radeon_ttm_backend_create(struct radeon_device *rdev)

#define RADEON_DEBUGFS_MEM_TYPES 2

static struct drm_info_list radeon_mem_types_list[RADEON_DEBUGFS_MEM_TYPES];
static char radeon_mem_types_names[RADEON_DEBUGFS_MEM_TYPES][32];

#if defined(CONFIG_DEBUG_FS)
static int radeon_mm_dump_table(struct seq_file *m, void *data)
{
Expand All @@ -711,9 +708,11 @@ static int radeon_mm_dump_table(struct seq_file *m, void *data)

static int radeon_ttm_debugfs_init(struct radeon_device *rdev)
{
#if defined(CONFIG_DEBUG_FS)
static struct drm_info_list radeon_mem_types_list[RADEON_DEBUGFS_MEM_TYPES];
static char radeon_mem_types_names[RADEON_DEBUGFS_MEM_TYPES][32];
unsigned i;

#if defined(CONFIG_DEBUG_FS)
for (i = 0; i < RADEON_DEBUGFS_MEM_TYPES; i++) {
if (i == 0)
sprintf(radeon_mem_types_names[i], "radeon_vram_mm");
Expand Down

0 comments on commit c9cd9f6

Please sign in to comment.