diff options
author | Dave Airlie <airlied@redhat.com> | 2011-03-15 21:34:41 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2011-03-15 21:34:41 -0400 |
commit | 38f1cff0863809587b5fd10ecd0c24c8b543a48c (patch) | |
tree | 7cf6eb88cdc938c3683209d38311e711a1119400 /drivers/gpu/drm/nouveau/nouveau_mem.c | |
parent | 4819d2e4310796c4e9eef674499af9b9caf36b5a (diff) | |
parent | 5359533801e3dd3abca5b7d3d985b0b33fd9fe8b (diff) |
Merge commit '5359533801e3dd3abca5b7d3d985b0b33fd9fe8b' into drm-core-next
This commit changed an internal radeon structure, that meant a new driver
in -next had to be fixed up, merge in the commit and fix up the driver.
Also fixes a trivial nouveau merge.
Conflicts:
drivers/gpu/drm/nouveau/nouveau_mem.c
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_mem.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_mem.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_mem.c b/drivers/gpu/drm/nouveau/nouveau_mem.c index 02b48d183f4a..2683377f4131 100644 --- a/drivers/gpu/drm/nouveau/nouveau_mem.c +++ b/drivers/gpu/drm/nouveau/nouveau_mem.c | |||
@@ -759,8 +759,10 @@ nouveau_vram_manager_new(struct ttm_mem_type_manager *man, | |||
759 | ret = vram->get(dev, mem->num_pages << PAGE_SHIFT, | 759 | ret = vram->get(dev, mem->num_pages << PAGE_SHIFT, |
760 | mem->page_alignment << PAGE_SHIFT, size_nc, | 760 | mem->page_alignment << PAGE_SHIFT, size_nc, |
761 | (nvbo->tile_flags >> 8) & 0x3ff, &node); | 761 | (nvbo->tile_flags >> 8) & 0x3ff, &node); |
762 | if (ret) | 762 | if (ret) { |
763 | return ret; | 763 | mem->mm_node = NULL; |
764 | return (ret == -ENOSPC) ? 0 : ret; | ||
765 | } | ||
764 | 766 | ||
765 | node->page_shift = 12; | 767 | node->page_shift = 12; |
766 | if (nvbo->vma.node) | 768 | if (nvbo->vma.node) |