Subversion Repositories Kolibri OS

Rev

Rev 4293 | Rev 5271 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4293 Rev 4539
Line 101... Line 101...
101
EXPORT_SYMBOL(drm_clflush_pages);
101
EXPORT_SYMBOL(drm_clflush_pages);
Line 102... Line 102...
102
 
102
 
103
void
103
void
104
drm_clflush_sg(struct sg_table *st)
104
drm_clflush_sg(struct sg_table *st)
105
{
105
{
106
		struct sg_page_iter sg_iter;
106
    struct sg_page_iter sg_iter;
Line 107... Line 107...
107
    struct page *page;
107
    struct page *page;
108
 
108
 
Line 109... Line 109...
109
    uint8_t *pva;
109
    uint8_t *pva;
110
    unsigned int i;
110
    unsigned int i;
111
 
111
 
112
    pva = AllocKernelSpace(4096);
112
    pva = AllocKernelSpace(4096);
113
    if( pva != NULL)
113
    if( pva != NULL)
114
    {
114
    {
115
		mb();
115
        mb();
Line 116... Line 116...
116
		for_each_sg_page(st->sgl, &sg_iter, st->nents, 0)
116
        for_each_sg_page(st->sgl, &sg_iter, st->nents, 0)