From: Chris Wilson Date: Fri, 9 Aug 2013 11:25:09 +0000 (+0100) Subject: drm/i915: Track when an object is pinned for use by the display engine X-Git-Tag: v3.12-rc1~136^2~14^2~60 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc98b413c197c4c6a62b1e469e9d05e613571af5;p=pandora-kernel.git drm/i915: Track when an object is pinned for use by the display engine The display engine has unique coherency rules such that it requires special handling to ensure that all writes to cursors, scanouts and sprites are clflushed. This patch introduces the infrastructure to simply track when an object is being accessed by the display engine. v2: Explain the is_pin_display() magic as the sources for obj->pin_count and their individual rules is not obvious. (Ville) Signed-off-by: Chris Wilson Reviewed-by: Ville Syrjälä Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed