drm/sun4i: Add support for HW scaling to DE2
authorJernej Skrabec <jernej.skrabec@siol.net>
Fri, 1 Dec 2017 06:05:44 +0000 (07:05 +0100)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Tue, 5 Dec 2017 12:22:44 +0000 (13:22 +0100)
commitb862a648de3b9ddaad772e11f0db4046d469e88e
treead5d87d6ecb926e0166b1da7d8986ca41bbdcd5f
parent5b1f8367f3ea1a74414a4dce3ccb2e76fdd84385
drm/sun4i: Add support for HW scaling to DE2

Scaling is currently supported only for RGB framebuffers

Coefficients and algorithm which coefficients to select are taken
from BSP driver.

Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171201060550.10392-22-jernej.skrabec@siol.net
drivers/gpu/drm/sun4i/Makefile
drivers/gpu/drm/sun4i/sun8i_mixer.h
drivers/gpu/drm/sun4i/sun8i_ui_layer.c
drivers/gpu/drm/sun4i/sun8i_ui_scaler.c [new file with mode: 0644]
drivers/gpu/drm/sun4i/sun8i_ui_scaler.h [new file with mode: 0644]
drivers/gpu/drm/sun4i/sun8i_vi_layer.c
drivers/gpu/drm/sun4i/sun8i_vi_scaler.c [new file with mode: 0644]
drivers/gpu/drm/sun4i/sun8i_vi_scaler.h [new file with mode: 0644]