From: Paulo Zanoni Date: Thu, 2 Jul 2015 22:25:07 +0000 (-0300) Subject: drm/i915: add simple wrappers for stolen node insertion/removal X-Git-Tag: omap-for-v4.3/fixes-rc1~89^2~36^2~91 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d713fd4976f2838ca2ebccdc187256edb46bd48e;p=pandora-kernel.git drm/i915: add simple wrappers for stolen node insertion/removal We want to move the FBC code out of i915_gem_stolen.c, but that code directly adds/removes stolen memory nodes. Let's create this abstraction, so i915_gme_stolen.c is still in control of all the stolen memory handling. The abstraction will also allow us to add locking assertions later. v2: - Add dev_priv as remove_node() argument since we'll need it later (Chris). Requested-by: Chris Wilson Signed-off-by: Paulo Zanoni Reviewed-by: Chris Wilson Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed