commit | 1de3cd4fb49f3463679c49afe0aa9ceb133f3e49 | [log] [tgz] |
---|---|---|
author | Liviu Dudau <Liviu.Dudau@arm.com> | Wed Mar 08 16:10:19 2017 +0000 |
committer | Liviu Dudau <Liviu.Dudau@arm.com> | Mon Mar 27 14:55:58 2017 +0100 |
tree | 6f5bfd4ce401c28778e605bda938559fedb1c66c | |
parent | c02ed2e75ef4c74e41e421acb4ef1494671585e8 [diff] |
drm: hdlcd: Fix the calculation of the scanout start address The calculation of the framebuffer's start address was wrongly using the CRTC's x and y position rather than the one of the source framebuffer. To fix that we need to update the plane_check code to call drm_plane_helper_check_state() to clip the src and dst coordinates. While there so some minor cleanup of redundant freeing of devm_alloc-ated memory. Signed-off-by: Liviu Dudau <Liviu.Dudau@arm.com>