Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 115720
b: refs/heads/master
c: e0f0754
h: refs/heads/master
v: v3
  • Loading branch information
Dave Airlie authored and Dave Airlie committed Oct 17, 2008
1 parent 0556915 commit 994fabc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e7d22bc3cb57126196c4f475d4e55aa44e151784
refs/heads/master: e0f0754ff6128570dcf38032f5bfb1f195e5bbee
11 changes: 2 additions & 9 deletions trunk/drivers/gpu/drm/drm_cache.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,6 @@ drm_clflush_page(struct page *page)
}
#endif

static void
drm_clflush_ipi_handler(void *null)
{
wbinvd();
}

void
drm_clflush_pages(struct page *pages[], unsigned long num_pages)
{
Expand All @@ -68,9 +62,8 @@ drm_clflush_pages(struct page *pages[], unsigned long num_pages)

return;
}
#endif

if (on_each_cpu(drm_clflush_ipi_handler, NULL, 1) != 0)
DRM_ERROR("Timed out waiting for cache flush.\n");
wbinvd();
#endif
}
EXPORT_SYMBOL(drm_clflush_pages);

0 comments on commit 994fabc

Please sign in to comment.