Commit 4667a4a5 authored by Daniel Vetter's avatar Daniel Vetter Committed by Eric Anholt

drm/i915: overlay: nuke readback to flush wc caches

I retested this and whatever this papered over, the problem doesn't seem
to exist anymore.
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: default avatarEric Anholt <eric@anholt.net>
[anholt: fixed up compile warning]
Signed-off-by: default avatarEric Anholt <eric@anholt.net>
parent 4a9bef37
......@@ -199,16 +199,11 @@ static struct overlay_registers *intel_overlay_map_regs_atomic(struct intel_over
static void intel_overlay_unmap_regs_atomic(struct intel_overlay *overlay)
{
struct drm_device *dev = overlay->dev;
drm_i915_private_t *dev_priv = dev->dev_private;
if (OVERLAY_NONPHYSICAL(overlay->dev))
io_mapping_unmap_atomic(overlay->virt_addr);
overlay->virt_addr = NULL;
I915_READ(OVADD); /* flush wc cashes */
return;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment