commit | 155e63696caab748da3f344f66de503038a72024 | [log] [tgz] |
---|---|---|
author | Matt Roper <matthew.d.roper@intel.com> | Mon Jul 07 18:21:47 2014 -0700 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Wed Jul 09 13:51:42 2014 +0200 |
tree | bcbd4d3ba759ff783c0a9e9255f9e41000d8019e | |
parent | 1f767e02d69f6a37a86aa94fd2c7e2528ae1161e [diff] |
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 <matthew.d.roper@intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>