aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/ttm
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2010-07-22 14:45:57 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2010-07-22 14:45:57 -0400
commit84d4db0e22965334ae8272f324d31fb4657465aa (patch)
treeb20a90bc599a275c898b87aa855904e93090d863 /drivers/gpu/drm/ttm
parent38ea6e62d3e59f7e03c6c96301d1cedaab15ce3f (diff)
parent52fa2bbc8ec46255039e2048d616bbd0852ee292 (diff)
Merge branch 'drm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6
* 'drm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6: drm/radeon/kms: add quirk to make HP DV5000 laptop resume drm/radeon/kms: fix RADEON_INFO_CRTC_FROM_ID info ioctl Fix ttm_page_alloc.c build breakage drm/radeon/kms: fix legacy LVDS dpms sequence drm/radeon/kms: drop taking lock around crtc lookup.
Diffstat (limited to 'drivers/gpu/drm/ttm')
-rw-r--r--drivers/gpu/drm/ttm/ttm_page_alloc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/ttm/ttm_page_alloc.c b/drivers/gpu/drm/ttm/ttm_page_alloc.c
index d233c65f3f7f..ca904799f018 100644
--- a/drivers/gpu/drm/ttm/ttm_page_alloc.c
+++ b/drivers/gpu/drm/ttm/ttm_page_alloc.c
@@ -40,13 +40,13 @@
40#include <linux/slab.h> 40#include <linux/slab.h>
41 41
42#include <asm/atomic.h> 42#include <asm/atomic.h>
43#ifdef TTM_HAS_AGP
44#include <asm/agp.h>
45#endif
46 43
47#include "ttm/ttm_bo_driver.h" 44#include "ttm/ttm_bo_driver.h"
48#include "ttm/ttm_page_alloc.h" 45#include "ttm/ttm_page_alloc.h"
49 46
47#ifdef TTM_HAS_AGP
48#include <asm/agp.h>
49#endif
50 50
51#define NUM_PAGES_TO_ALLOC (PAGE_SIZE/sizeof(struct page *)) 51#define NUM_PAGES_TO_ALLOC (PAGE_SIZE/sizeof(struct page *))
52#define SMALL_ALLOCATION 16 52#define SMALL_ALLOCATION 16