diff options
Diffstat (limited to 'include/drm')
| -rw-r--r-- | include/drm/drmP.h | 1 | ||||
| -rw-r--r-- | include/drm/intel-gtt.h | 10 |
2 files changed, 3 insertions, 8 deletions
diff --git a/include/drm/drmP.h b/include/drm/drmP.h index d6b67bb9075f..d5f0c163eef1 100644 --- a/include/drm/drmP.h +++ b/include/drm/drmP.h | |||
| @@ -1367,6 +1367,7 @@ extern int drm_remove_magic(struct drm_master *master, drm_magic_t magic); | |||
| 1367 | 1367 | ||
| 1368 | /* Cache management (drm_cache.c) */ | 1368 | /* Cache management (drm_cache.c) */ |
| 1369 | void drm_clflush_pages(struct page *pages[], unsigned long num_pages); | 1369 | void drm_clflush_pages(struct page *pages[], unsigned long num_pages); |
| 1370 | void drm_clflush_sg(struct sg_table *st); | ||
| 1370 | void drm_clflush_virt_range(char *addr, unsigned long length); | 1371 | void drm_clflush_virt_range(char *addr, unsigned long length); |
| 1371 | 1372 | ||
| 1372 | /* Locking IOCTL support (drm_lock.h) */ | 1373 | /* Locking IOCTL support (drm_lock.h) */ |
diff --git a/include/drm/intel-gtt.h b/include/drm/intel-gtt.h index 8e29d551bb3c..2e37e9f02e71 100644 --- a/include/drm/intel-gtt.h +++ b/include/drm/intel-gtt.h | |||
| @@ -30,16 +30,10 @@ void intel_gmch_remove(void); | |||
| 30 | bool intel_enable_gtt(void); | 30 | bool intel_enable_gtt(void); |
| 31 | 31 | ||
| 32 | void intel_gtt_chipset_flush(void); | 32 | void intel_gtt_chipset_flush(void); |
| 33 | void intel_gtt_unmap_memory(struct scatterlist *sg_list, int num_sg); | 33 | void intel_gtt_insert_sg_entries(struct sg_table *st, |
| 34 | void intel_gtt_clear_range(unsigned int first_entry, unsigned int num_entries); | ||
| 35 | int intel_gtt_map_memory(struct page **pages, unsigned int num_entries, | ||
| 36 | struct scatterlist **sg_list, int *num_sg); | ||
| 37 | void intel_gtt_insert_sg_entries(struct scatterlist *sg_list, | ||
| 38 | unsigned int sg_len, | ||
| 39 | unsigned int pg_start, | 34 | unsigned int pg_start, |
| 40 | unsigned int flags); | 35 | unsigned int flags); |
| 41 | void intel_gtt_insert_pages(unsigned int first_entry, unsigned int num_entries, | 36 | void intel_gtt_clear_range(unsigned int first_entry, unsigned int num_entries); |
| 42 | struct page **pages, unsigned int flags); | ||
| 43 | 37 | ||
| 44 | /* Special gtt memory types */ | 38 | /* Special gtt memory types */ |
| 45 | #define AGP_DCACHE_MEMORY 1 | 39 | #define AGP_DCACHE_MEMORY 1 |
