summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/radeon/radeon_gem.c
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2016-10-18 01:41:17 +0300
committerArchit Taneja <architt@codeaurora.org>2016-10-18 12:52:49 +0300
commit8e911ab770f7bbc8bb5fab0ce6ebd8d1a7188998 (patch)
treea5608219c509814a9343bb7b9086f78e7c831f4b /drivers/gpu/drm/radeon/radeon_gem.c
parente0f9a4ab49a107c011f3bda401f747fbb5f29e7a (diff)
downloadlinux-8e911ab770f7bbc8bb5fab0ce6ebd8d1a7188998.tar.xz
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
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_gem.c')
0 files changed, 0 insertions, 0 deletions