diff options
author | james qian wang (Arm Technology China) <james.qian.wang@arm.com> | 2019-01-22 09:24:16 +0000 |
---|---|---|
committer | Liviu Dudau <Liviu.Dudau@arm.com> | 2019-04-01 18:08:26 +0100 |
commit | 321e925c5813c228bafda5ea3729ebddb00a3040 (patch) | |
tree | 41255f87620dea74bff102c6c386ad037833f8af /drivers/gpu/drm/arm/display/komeda/komeda_dev.c | |
parent | f5f0a68e00688311fe9104fa32422e4e27ae8d3b (diff) | |
download | lwn-321e925c5813c228bafda5ea3729ebddb00a3040.tar.gz lwn-321e925c5813c228bafda5ea3729ebddb00a3040.zip |
drm/komeda: Add komeda_assemble_pipelines
komeda_accemble_pipelines is for:
1. Verifing the component->supported_inputs according to the
pipeline->avail_components.
2. Generating component->supported_outputs.
v2: Lower the debug message of komeda_component_dump to DRM_DEBUG.
Signed-off-by: James Qian Wang (Arm Technology China) <james.qian.wang@arm.com>
Signed-off-by: Liviu Dudau <liviu.dudau@arm.com>
Diffstat (limited to 'drivers/gpu/drm/arm/display/komeda/komeda_dev.c')
-rw-r--r-- | drivers/gpu/drm/arm/display/komeda/komeda_dev.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/drm/arm/display/komeda/komeda_dev.c b/drivers/gpu/drm/arm/display/komeda/komeda_dev.c index 70e9bb7fa30c..780ca86c9db9 100644 --- a/drivers/gpu/drm/arm/display/komeda/komeda_dev.c +++ b/drivers/gpu/drm/arm/display/komeda/komeda_dev.c @@ -147,6 +147,12 @@ struct komeda_dev *komeda_dev_create(struct device *dev) goto err_cleanup; } + err = komeda_assemble_pipelines(mdev); + if (err) { + DRM_ERROR("assemble display pipelines failed.\n"); + goto err_cleanup; + } + return mdev; err_cleanup: |