]> git.baikalelectronics.ru Git - kernel.git/commit
drm/komeda: Add split support for scaler
authorjames qian wang (Arm Technology China) <james.qian.wang@arm.com>
Mon, 10 Jun 2019 10:16:02 +0000 (11:16 +0100)
committerLiviu Dudau <Liviu.Dudau@arm.com>
Wed, 19 Jun 2019 10:42:17 +0000 (11:42 +0100)
commitef5ccd7e45296b17022eb6a3efd6d2b7fc2c6f47
tree41999bf56fa3d6f56d27508d8ebd611f688eff2d
parent84105d38f25c58f2128a3c4e05f9f07a7cb77049
drm/komeda: Add split support for scaler

To achieve same caling effect compare with none split, the texel
calculation need to use the same scaling ratio before split, so add
"total_xxx" to pipeline to describe the hsize/vsize before split.
Update pipeline and d71_scaler_update accordingly.

v2: Rebase and addressed Liviu's comments

Signed-off-by: James Qian Wang (Arm Technology China) <james.qian.wang@arm.com>
Signed-off-by: Liviu Dudau <liviu.dudau@arm.com>
drivers/gpu/drm/arm/display/komeda/d71/d71_component.c
drivers/gpu/drm/arm/display/komeda/komeda_pipeline.h
drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c
drivers/gpu/drm/arm/display/komeda/komeda_plane.c
drivers/gpu/drm/arm/display/komeda/komeda_wb_connector.c