aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorLaurent Pinchart <[email protected]>2016-10-17 22:41:18 +0000
committerArchit Taneja <[email protected]>2016-10-18 09:53:44 +0000
commit802aaf7642f57aa2eadbff8ee38dbd976e8bd0f4 (patch)
treef5870de99dce8b3a2319b8014d2296199f6383ef /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentdrm: amdgpu: Replace drm_fb_get_bpp_depth() with drm_format_plane_cpp() (diff)
downloadkernel-802aaf7642f57aa2eadbff8ee38dbd976e8bd0f4.tar.gz
kernel-802aaf7642f57aa2eadbff8ee38dbd976e8bd0f4.zip
drm: radeon: 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 <[email protected]> Reviewed-by: Daniel Vetter <[email protected]> Signed-off-by: Archit Taneja <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/1476744081-24485-11-git-send-email-laurent.pinchart@ideasonboard.com
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions