2019-07-05 12:43:06

by James Qian Wang

[permalink] [raw]
Subject: [PATCH 1/2] drm/komeda: Disable slave pipeline support

Since the property slave_planes have been removed, to avoid the resource
assignment problem in user disable slave pipeline support temporarily.

Signed-off-by: james qian wang (Arm Technology China) <[email protected]>
---
drivers/gpu/drm/arm/display/komeda/komeda_crtc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/arm/display/komeda/komeda_crtc.c b/drivers/gpu/drm/arm/display/komeda/komeda_crtc.c
index f4400788ab94..8ee879ee3ddc 100644
--- a/drivers/gpu/drm/arm/display/komeda/komeda_crtc.c
+++ b/drivers/gpu/drm/arm/display/komeda/komeda_crtc.c
@@ -481,7 +481,7 @@ int komeda_kms_setup_crtcs(struct komeda_kms_dev *kms,
master = mdev->pipelines[i];

crtc->master = master;
- crtc->slave = komeda_pipeline_get_slave(master);
+ crtc->slave = NULL;

if (crtc->slave)
sprintf(str, "pipe-%d", crtc->slave->id);
--
2.20.1