diff options
| author | Thomas Hellstrom <thellstrom@vmware.com> | 2009-12-06 15:46:27 -0500 |
|---|---|---|
| committer | Dave Airlie <airlied@redhat.com> | 2009-12-07 00:22:07 -0500 |
| commit | 4bfd75cb08a362cb1df35dc6a5032d12843c6d87 (patch) | |
| tree | 1363edb589855b593d916411bf3d2f2b5e6cfcf1 /drivers | |
| parent | c078aa2fc4d8e022c3b611e07b25ff77afdf9b73 (diff) | |
drm/ttm: Export symbols needed for the vmwgfx driver.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/gpu/drm/ttm/ttm_bo_util.c | 1 | ||||
| -rw-r--r-- | drivers/gpu/drm/ttm/ttm_memory.c | 3 | ||||
| -rw-r--r-- | drivers/gpu/drm/ttm/ttm_tt.c | 1 |
3 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/ttm/ttm_bo_util.c b/drivers/gpu/drm/ttm/ttm_bo_util.c index c70927ecda21..ceae52f45c39 100644 --- a/drivers/gpu/drm/ttm/ttm_bo_util.c +++ b/drivers/gpu/drm/ttm/ttm_bo_util.c | |||
| @@ -369,6 +369,7 @@ pgprot_t ttm_io_prot(uint32_t caching_flags, pgprot_t tmp) | |||
| 369 | #endif | 369 | #endif |
| 370 | return tmp; | 370 | return tmp; |
| 371 | } | 371 | } |
| 372 | EXPORT_SYMBOL(ttm_io_prot); | ||
| 372 | 373 | ||
| 373 | static int ttm_bo_ioremap(struct ttm_buffer_object *bo, | 374 | static int ttm_bo_ioremap(struct ttm_buffer_object *bo, |
| 374 | unsigned long bus_base, | 375 | unsigned long bus_base, |
diff --git a/drivers/gpu/drm/ttm/ttm_memory.c b/drivers/gpu/drm/ttm/ttm_memory.c index 336976e8652d..8bfde5f40841 100644 --- a/drivers/gpu/drm/ttm/ttm_memory.c +++ b/drivers/gpu/drm/ttm/ttm_memory.c | |||
| @@ -461,6 +461,7 @@ void ttm_mem_global_free(struct ttm_mem_global *glob, | |||
| 461 | { | 461 | { |
| 462 | return ttm_mem_global_free_zone(glob, NULL, amount); | 462 | return ttm_mem_global_free_zone(glob, NULL, amount); |
| 463 | } | 463 | } |
| 464 | EXPORT_SYMBOL(ttm_mem_global_free); | ||
| 464 | 465 | ||
| 465 | static int ttm_mem_global_reserve(struct ttm_mem_global *glob, | 466 | static int ttm_mem_global_reserve(struct ttm_mem_global *glob, |
| 466 | struct ttm_mem_zone *single_zone, | 467 | struct ttm_mem_zone *single_zone, |
| @@ -534,6 +535,7 @@ int ttm_mem_global_alloc(struct ttm_mem_global *glob, uint64_t memory, | |||
| 534 | return ttm_mem_global_alloc_zone(glob, NULL, memory, no_wait, | 535 | return ttm_mem_global_alloc_zone(glob, NULL, memory, no_wait, |
| 535 | interruptible); | 536 | interruptible); |
| 536 | } | 537 | } |
| 538 | EXPORT_SYMBOL(ttm_mem_global_alloc); | ||
| 537 | 539 | ||
| 538 | int ttm_mem_global_alloc_page(struct ttm_mem_global *glob, | 540 | int ttm_mem_global_alloc_page(struct ttm_mem_global *glob, |
| 539 | struct page *page, | 541 | struct page *page, |
| @@ -589,3 +591,4 @@ size_t ttm_round_pot(size_t size) | |||
| 589 | } | 591 | } |
| 590 | return 0; | 592 | return 0; |
| 591 | } | 593 | } |
| 594 | EXPORT_SYMBOL(ttm_round_pot); | ||
diff --git a/drivers/gpu/drm/ttm/ttm_tt.c b/drivers/gpu/drm/ttm/ttm_tt.c index a55ee1a56c16..90ea46aed050 100644 --- a/drivers/gpu/drm/ttm/ttm_tt.c +++ b/drivers/gpu/drm/ttm/ttm_tt.c | |||
| @@ -192,6 +192,7 @@ int ttm_tt_populate(struct ttm_tt *ttm) | |||
| 192 | ttm->state = tt_unbound; | 192 | ttm->state = tt_unbound; |
| 193 | return 0; | 193 | return 0; |
| 194 | } | 194 | } |
| 195 | EXPORT_SYMBOL(ttm_tt_populate); | ||
| 195 | 196 | ||
| 196 | #ifdef CONFIG_X86 | 197 | #ifdef CONFIG_X86 |
| 197 | static inline int ttm_tt_set_page_caching(struct page *p, | 198 | static inline int ttm_tt_set_page_caching(struct page *p, |
