]> git.baikalelectronics.ru Git - kernel.git/commit
drm/fb_cma_helper: Replace drm_format_info() with fb->format
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 18 Nov 2016 19:53:02 +0000 (21:53 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 15 Dec 2016 12:55:32 +0000 (14:55 +0200)
commit203c8d7eb9664aee6bc9d4123be9411ed1aced5f
tree3af012977847af6ce26086babfbc205e74538d4d
parent3a508f6384c77ae1d21a039fc7c74237bf874ba0
drm/fb_cma_helper: Replace drm_format_info() with fb->format

Get the format information via the neat fb->format pointer rather than
doing a linear search over all the format info structures.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1479498793-31021-27-git-send-email-ville.syrjala@linux.intel.com
drivers/gpu/drm/drm_fb_cma_helper.c