Rev 5270 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5270 | Rev 6336 | ||
---|---|---|---|
Line 33... | Line 33... | ||
33 | #ifndef _DRM_CACHE_H_ |
33 | #ifndef _DRM_CACHE_H_ |
34 | #define _DRM_CACHE_H_ |
34 | #define _DRM_CACHE_H_ |
Line 35... | Line 35... | ||
35 | 35 | ||
Line -... | Line 36... | ||
- | 36 | void drm_clflush_pages(struct page *pages[], unsigned long num_pages); |
|
- | 37 | ||
- | 38 | static inline bool drm_arch_can_wc_memory(void) |
|
- | 39 | { |
|
- | 40 | #if defined(CONFIG_PPC) && !defined(CONFIG_NOT_COHERENT_CACHE) |
|
- | 41 | return false; |
|
- | 42 | #else |
|
- | 43 | return true; |
|
- | 44 | #endif |
|
36 | void drm_clflush_pages(struct page *pages[], unsigned long num_pages); |
45 | } |