All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: airlied@linux.ie, dri-devel@lists.freedesktop.org
Subject: [PATCH 4/6] gma500: cache GEM framebuffer pages wc not uc
Date: Tue, 24 Apr 2012 16:42:20 +0100	[thread overview]
Message-ID: <20120424154124.1464.78520.stgit@bluebook> (raw)
In-Reply-To: <20120424154028.1464.72617.stgit@bluebook>

From: Alan Cox <alan@linux.intel.com>

Fixes the case where the modesetting driver is slower than /dev/fb.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Cc: stable@kernel.org



---

 drivers/gpu/drm/gma500/gtt.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/gpu/drm/gma500/gtt.c b/drivers/gpu/drm/gma500/gtt.c
index c6465b4..db2e823 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)
 	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++) {

  parent reply	other threads:[~2012-04-24 15:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-24 15:40 [PATCH 1/6] gma500: Fix leak of uncached page Alan Cox
2012-04-24 15:40 ` [PATCH 2/6] gma500: read the PLL bits Alan Cox
2012-04-24 15:41 ` [PATCH 3/6] gma500: Update the Cedarview clock handling Alan Cox
2012-04-24 15:42 ` Alan Cox [this message]
2012-04-24 15:42 ` [PATCH 5/6] gma500: intel_bios updates Alan Cox
2012-04-24 15:42 ` [PATCH 6/6] gma500: panel presence check Alan Cox

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120424154124.1464.78520.stgit@bluebook \
    --to=alan@lxorguk.ukuu.org.uk \
    --cc=airlied@linux.ie \
    --cc=dri-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.