Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 156287
b: refs/heads/master
c: c96e7c7
h: refs/heads/master
i:
  156285: 6ca05ad
  156283: 2e5e4a5
  156279: c5c2f81
  156271: 4e0982c
  156255: 38a3f6c
  156223: 72a363a
  156159: dc27219
v: v3
  • Loading branch information
Roel Kluin authored and Dave Airlie committed Aug 4, 2009
1 parent 7ad5d67 commit 9f22bc4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: fa99239cb73dbf419bea9f334b85ba94ac88a532
refs/heads/master: c96e7c7a3a79931446ecf9494a8415e4d164ebd8
3 changes: 2 additions & 1 deletion trunk/drivers/gpu/drm/ttm/ttm_bo.c
Original file line number Diff line number Diff line change
Expand Up @@ -1182,13 +1182,14 @@ static int ttm_bo_force_list_clean(struct ttm_bo_device *bdev,

int ttm_bo_clean_mm(struct ttm_bo_device *bdev, unsigned mem_type)
{
struct ttm_mem_type_manager *man = &bdev->man[mem_type];
struct ttm_mem_type_manager *man;
int ret = -EINVAL;

if (mem_type >= TTM_NUM_MEM_TYPES) {
printk(KERN_ERR TTM_PFX "Illegal memory type %d\n", mem_type);
return ret;
}
man = &bdev->man[mem_type];

if (!man->has_type) {
printk(KERN_ERR TTM_PFX "Trying to take down uninitialized "
Expand Down

0 comments on commit 9f22bc4

Please sign in to comment.