]> 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)
commitcb05fa9ab4c4fd57187831f17c69bce69bc1c093
treedbd669499a84027a0d5e6c6e8810732e8d4abb69
parenta330d13f5c79cf2245ee2c130116534151a97773
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