]> git.baikalelectronics.ru Git - kernel.git/commit
drm: Don't export the drm_fb_get_bpp_depth() function
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Mon, 17 Oct 2016 22:41:21 +0000 (01:41 +0300)
committerArchit Taneja <architt@codeaurora.org>
Tue, 18 Oct 2016 09:54:08 +0000 (15:24 +0530)
commit2d608868bc1c956c80ff579985433fe19e9e9a9a
tree7b607e9f4d8b3bc72956eca301ae8c92e2e1e090
parent9b174078d027c16dbb74819ebdac676a8f8752db
drm: Don't export the drm_fb_get_bpp_depth() function

The function is only used by the drm_helper_mode_fill_fb_struct() core
function to fill the drm_framebuffer bpp and depth fields, used by
drivers that haven't been converted to use pixel formats directly yet.
It should not be used by new drivers, so inline it in its only caller.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Signed-off-by: Archit Taneja <architt@codeaurora.org>
Link: http://patchwork.freedesktop.org/patch/msgid/1476744081-24485-14-git-send-email-laurent.pinchart@ideasonboard.com
drivers/gpu/drm/drm_fourcc.c
drivers/gpu/drm/drm_modeset_helper.c
include/drm/drm_fourcc.h