drm: sti: Replace drm_fb_get_bpp_depth() with drm_format_plane_cpp()
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Wed, 8 Jun 2016 23:32:11 +0000 (02:32 +0300)
committerVincent Abriou <vincent.abriou@st.com>
Tue, 20 Sep 2016 09:32:04 +0000 (11:32 +0200)
commitd27cd40addc06d34236bf818abcbe76f3527a69d
treee6b6951e103583b59aacce7a099bec24c4af88d2
parent26e34d2d8ba7aca0fe86e5362ce5811749df77b2
drm: sti: 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>
Acked-by: Vincent Abriou <vincent.abriou@st.com>
drivers/gpu/drm/sti/sti_gdp.c