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)
commitd13b33fa7d76b8f7cbf0212d570aa82887b6db0f
treedbd669499a84027a0d5e6c6e8810732e8d4abb69
parent2abe1f2509bf4976dce9a220cab3f1424f0cbb0f
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