diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2016-10-18 01:41:14 +0300 |
---|---|---|
committer | Archit Taneja <architt@codeaurora.org> | 2016-10-18 15:21:57 +0530 |
commit | 59f11a43237fe08de8572b5be5d961d262ae770d (patch) | |
tree | e20012781fcd041ed8f2d881ff7489742e488828 /drivers/gpu/drm/cirrus/cirrus_main.c | |
parent | ba0891d1120389ad44c4f4e6d0b71f5fbcc23163 (diff) | |
download | talos-op-linux-59f11a43237fe08de8572b5be5d961d262ae770d.tar.gz talos-op-linux-59f11a43237fe08de8572b5be5d961d262ae770d.zip |
drm: tilcdc: 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.
In the tilcdc_crtc_mode_set() function compute the hardware register
value directly from the pixel format instead of computing the number of
bits per pixels first.
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-7-git-send-email-laurent.pinchart@ideasonboard.com
Diffstat (limited to 'drivers/gpu/drm/cirrus/cirrus_main.c')
0 files changed, 0 insertions, 0 deletions