commit | 8e911ab770f7bbc8bb5fab0ce6ebd8d1a7188998 | [log] [tgz] |
---|---|---|
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | Tue Oct 18 01:41:17 2016 +0300 |
committer | Archit Taneja <architt@codeaurora.org> | Tue Oct 18 15:22:49 2016 +0530 |
tree | a5608219c509814a9343bb7b9086f78e7c831f4b | |
parent | e0f9a4ab49a107c011f3bda401f747fbb5f29e7a [diff] |
drm: amdgpu: 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> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Archit Taneja <architt@codeaurora.org> Link: http://patchwork.freedesktop.org/patch/msgid/1476744081-24485-10-git-send-email-laurent.pinchart@ideasonboard.com