Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 282485
b: refs/heads/master
c: 5e26568
h: refs/heads/master
i:
  282483: cb9c902
v: v3
  • Loading branch information
Jerome Glisse authored and Dave Airlie committed Dec 6, 2011
1 parent 09bfa19 commit 675538f
Show file tree
Hide file tree
Showing 2 changed files with 5 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: a14af87b0b6f5c1d44c1adaa07f1bd347f81dc04
refs/heads/master: 5e2656804a34f58c2bf557465ab77f8a26a500eb
5 changes: 4 additions & 1 deletion trunk/drivers/gpu/drm/ttm/ttm_tt.c
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,10 @@ static struct page *__ttm_tt_get_page(struct ttm_tt *ttm, int index)
}
return p;
out_err:
put_page(p);
INIT_LIST_HEAD(&h);
list_add(&p->lru, &h);
ttm_put_pages(&h, 1, ttm->page_flags,
ttm->caching_state, &ttm->dma_address[index]);
return NULL;
}

Expand Down

0 comments on commit 675538f

Please sign in to comment.