summaryrefslogtreecommitdiffstats
path: root/kernel/srcu.c
diff options
context:
space:
mode:
authorImre Deak <imre.deak@intel.com>2013-02-13 21:56:05 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-02-20 00:21:43 +0100
commit769ce4643b775496166d09c227b070cc38f9e205 (patch)
tree4169bb20e669a36af5c51f80168551aa8da7d669 /kernel/srcu.c
parent10d8373064762b21e16e73bc7dfde49d68f4e31f (diff)
drm/i915: don't clflush gem objects in stolen memory
As explained by Chris Wilson gem objects in stolen memory are always coherent with the GPU so we don't need to ever flush the CPU caches for these. This fixes a breakage - at least with the compact sg patches applied - during the resume/restore gtt mappings path, when we tried to clflush an FB object in stolen memory, but since stolen objects don't have backing pages we passed an invalid page pointer to drm_clflush_page(). Signed-off-by: Imre Deak <imre.deak@intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'kernel/srcu.c')
0 files changed, 0 insertions, 0 deletions