Skip to content

Commit

Permalink
gma500: mark framebuffer pages write combining
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alan Cox authored and Dave Airlie committed Apr 27, 2012
1 parent acd7ef9 commit d955e71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/gma500/gtt.c
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ static int psb_gtt_insert(struct drm_device *dev, struct gtt_range *r)
pages = r->pages;

/* Make sure changes are visible to the GPU */
set_pages_array_uc(pages, r->npage);
set_pages_array_wc(pages, r->npage);

/* Write our page entries into the GTT itself */
for (i = r->roll; i < r->npage; i++) {
Expand Down

0 comments on commit d955e71

Please sign in to comment.