aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlan Cox <alan@linux.intel.com>2012-04-25 09:37:00 -0400
committerDave Airlie <airlied@redhat.com>2012-04-27 04:23:32 -0400
commitd955e71b506fcef3e9407af7fdecf973a4ffbc72 (patch)
tree839ad49c6caecd4f1243cb6ab201ba77aa48a7b9
parentacd7ef927e06510fbfeec8d307f4726a156b2733 (diff)
gma500: mark framebuffer pages write combining
We don't want them uncached, combining will do nicely and fixes the performance problem with the generic modesetting X server. Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
-rw-r--r--drivers/gpu/drm/gma500/gtt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/gma500/gtt.c b/drivers/gpu/drm/gma500/gtt.c
index c6465b40090f..db2e823e8951 100644
--- a/drivers/gpu/drm/gma500/gtt.c
+++ b/drivers/gpu/drm/gma500/gtt.c
@@ -93,7 +93,7 @@ static int psb_gtt_insert(struct drm_device *dev, struct gtt_range *r)
93 pages = r->pages; 93 pages = r->pages;
94 94
95 /* Make sure changes are visible to the GPU */ 95 /* Make sure changes are visible to the GPU */
96 set_pages_array_uc(pages, r->npage); 96 set_pages_array_wc(pages, r->npage);
97 97
98 /* Write our page entries into the GTT itself */ 98 /* Write our page entries into the GTT itself */
99 for (i = r->roll; i < r->npage; i++) { 99 for (i = r->roll; i < r->npage; i++) {