]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msm: Replace drm_fb_get_bpp_depth() with drm_format_plane_cpp()
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Wed, 8 Jun 2016 23:32:10 +0000 (02:32 +0300)
committerRob Clark <robdclark@gmail.com>
Sat, 16 Jul 2016 14:29:29 +0000 (10:29 -0400)
commite1593b38f967885862d59b37c14569aa6b52ea6f
treedbd669499a84027a0d5e6c6e8810732e8d4abb69
parent0aba99edba8cd8e3c0d202eb649fd6e75a72a8ec
drm/msm: Replace drm_fb_get_bpp_depth() with drm_format_plane_cpp()

The driver needs the number of bytes per pixel, not the bpp and depth
info meant for fbdev compatibility. Use the right API.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/mdp/mdp5/mdp5_crtc.c