drm/cma: use correct fb width/height
authorRob Clark <robdclark@gmail.com>
Wed, 11 Mar 2015 14:23:10 +0000 (10:23 -0400)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 11 Mar 2015 21:08:07 +0000 (22:08 +0100)
commit8d76612bd49a73dca018e6fe5c790c943dbde98f
tree1306a6d524f4749af84611e753704637e7687f68
parent08855fae10f088d83527bdf108199d3e35be503b
drm/cma: use correct fb width/height

What is passed to drm_fb_helper_fill_var() should be fb_width/fb_height,
rather than the surface size.

Signed-off-by: Rob Clark <robdclark@gmail.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_fb_cma_helper.c