]> git.baikalelectronics.ru Git - kernel.git/commit
drm/komeda: Enable writeback split support
authorjames qian wang (Arm Technology China) <james.qian.wang@arm.com>
Wed, 12 Jun 2019 10:20:18 +0000 (11:20 +0100)
committerLiviu Dudau <Liviu.Dudau@arm.com>
Wed, 19 Jun 2019 10:42:18 +0000 (11:42 +0100)
commit2cd54ef7df9dbdb0e6b429c63087325408943b4d
treeca797a44938bf546e649845f0164584ac18529fc
parenteee7f434dfe328991ee24227cecc685c524f8e5d
drm/komeda: Enable writeback split support

Writeback split is also for workaround the size limitation of d71 scaler.
Like layer_split, writeback downscaling also can use two scalers to handle
the scaling half-by-half. The only differnence is writback needs a
standalone component (splitter)'s help to split the composition result.
The data pipeline of writeback split as below:

                   /-> scaler-0 ->\
 compiz -> splitter                merger -> wb_layer -> memory
                   \-> scaler-1 ->/

v2: Rebase

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/komeda_pipeline.h
drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c
drivers/gpu/drm/arm/display/komeda/komeda_wb_connector.c