[PATCH 2/2] drm/i915: properly clflush pwrites to phys objects

Chris Wilson chris at chris-wilson.co.uk
Tue Nov 29 07:35:54 PST 2011


On Tue, 29 Nov 2011 16:09:29 +0100, Daniel Vetter <daniel.vetter at ffwll.ch> wrote:
> Usually results in (rare) cursor corruptions on platforms
> requiring physically addressed cursors.

So the phys cursor pages are set to WC upon creation, are we just
missing the mb()? Or more likely the CPUs don't have PAT and we are
being lazy in not detecting the error.

Anyway as this is reported to fix the issue on 8xx at least, overkill
is fine. :)

Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the dri-devel mailing list