]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: use intel_fb_obj() macros to assign gem objects
authorGustavo Padovan <gustavo.padovan@collabora.co.uk>
Fri, 24 Oct 2014 13:51:33 +0000 (14:51 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 4 Nov 2014 22:22:08 +0000 (23:22 +0100)
commit77cde95217484e845743818691df026cec2534f4
treed7965a9448c130f8affebe31216e017d4849a2e5
parent34aa50a976c58697ad4050674b272892efea865c
drm/i915: use intel_fb_obj() macros to assign gem objects

Use the macros makes the code cleaner and it also checks for a NULL fb.

Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_sprite.c