OSDN Git Service

drm/komeda: Add component komeda_merger
authorjames qian wang (Arm Technology China) <james.qian.wang@arm.com>
Mon, 10 Jun 2019 10:15:55 +0000 (11:15 +0100)
committerLiviu Dudau <Liviu.Dudau@arm.com>
Wed, 19 Jun 2019 10:42:17 +0000 (11:42 +0100)
commit9a28105f5a439d3dc5e595042b3f97b1bb4cd4f1
treec13950995fb89a24f2d16b61b24dbc1caee40129
parent619053220a7d5620d26d60d1848ca9c681bea830
drm/komeda: Add component komeda_merger

Introduce a new component komeda_merger, because D71 HW supports to split
a whole image to two half parts and does the scaling independently. Merger
merges two separate results to one, and output it to compositor or wb_layer
For this patch:
- Add the definition of komeda_merger/merger_state
- Report and initialize komeda_merger according to the D71 HW.

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/d71/d71_component.c
drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c
drivers/gpu/drm/arm/display/komeda/komeda_pipeline.h
drivers/gpu/drm/arm/display/komeda/komeda_private_obj.c