From: Matt Roper Date: Tue, 8 Jul 2014 01:21:47 +0000 (-0700) Subject: drm/i915: Introduce intel_fb_obj() macro X-Git-Tag: omap-for-v3.17/fixes-against-rc2~125^2~49^2~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=155e63696caab748da3f344f66de503038a72024;p=pandora-kernel.git drm/i915: Introduce intel_fb_obj() macro Add an intel_fb_obj() macro that returns the GEM object associated with a DRM framebuffer. This macro is safe to call on NULL framebuffers (a NULL object pointer will be returned in this case). Signed-off-by: Matt Roper Reviewed-by: Chris Wilson Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed