drm/exynos: mixer: use ratio precalculated in exynos_state
authorMarek Szyprowski <m.szyprowski@samsung.com>
Mon, 30 Nov 2015 13:53:27 +0000 (14:53 +0100)
committerInki Dae <daeinki@gmail.com>
Sun, 13 Dec 2015 13:22:58 +0000 (22:22 +0900)
commite463b0695a0d52e280c8c42668b9c118c6d06d82
treec9e35b5d6ec2879ca1e78a6f1b365dff493fb2a2
parent6178d3d1bbedd3fe08bb194272bc24f7f92282e7
drm/exynos: mixer: use ratio precalculated in exynos_state

Common plane code already calculates and checks for supported scalling
modes, so additional code in mixer driver can be now removed.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Reviewed-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_mixer.c