drm: Wrap drm_mm_node.hole_follows
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 22 Dec 2016 08:36:37 +0000 (08:36 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 28 Dec 2016 12:30:24 +0000 (13:30 +0100)
commit3f85fb3462dc1c87a9353eb38714468d46248b2e
tree0b992d89057a98e2c10452db13f4ad439bb8f074
parent3fa489dabea9a1cb0656e2da90354f7c4e53f890
drm: Wrap drm_mm_node.hole_follows

Insulate users from changes to the internal hole tracking within
struct drm_mm_node by using an accessor for hole_follows.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
[danvet: resolve conflicts in i915_vma.c]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_mm.c
drivers/gpu/drm/i915/i915_vma.c
drivers/gpu/drm/selftests/test-drm_mm.c
include/drm/drm_mm.h