commit | 6a5228fdf0a4636fdf5ce616c35264e0c0b26c7c | [log] [tgz] |
---|---|---|
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | Mon Apr 18 18:18:37 2016 +0300 |
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | Mon Jun 06 10:14:27 2016 +0300 |
tree | a5449db5aecf5c6b243956aac5c946d8a82bac4e | |
parent | 63871f713e7d20446ba751ece14a2ba8f3f97d1d [diff] |
drm/omap: remove align_pitch() The previous commit removed aligning the pitch to SGX's pitch requirement from align_pitch(). What's left is effectively a function that returns width * bytespp. To clean up the driver, we can remove the function and have the calculation inline in the two places which call align_pitch(). Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>