Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp7192281ybi; Mon, 8 Jul 2019 16:35:17 -0700 (PDT) X-Google-Smtp-Source: APXvYqysWZhCxMTE3kS0/EAi0+P+ynv6d4TeynP7FP0vhuv/ohnfL49MFsVG/qGrBWln89RlbA8O X-Received: by 2002:a17:902:d81:: with SMTP id 1mr29065053plv.323.1562628917370; Mon, 08 Jul 2019 16:35:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562628917; cv=none; d=google.com; s=arc-20160816; b=BLLnS086h8K4RZHxfLbWMudBL5U9GImubnJaOn5oW9NGJRsvuhv/+V/NRLluwQXd78 6FeJDe5f+x5Bgv8ocxpPkr45ryoc+y6c/JSD4Kw6Gnsrsb06hP3Ebvih2+Jj6AkaZef2 Js+0xcNhMz0YrDMhalIOFzVyj7LjT/cwYZHOVphvxPbnwUZt18MXtoOs9cv6bA557wJV o3XulhXOV0NraShTD5oC6M3I9PQeQ9A8SISOLzTNIgvJwtSRumE0ObVFduUEJ+GO2gsX jseNf8kkwSgE2oBgXPRoB6BTZHxoclVl7ASIHFs/FkbvsofGLOEMno0pP2q20TT1X0iF k02A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=UntsIS4XlltXDoQewSDb9iyENy7IEULysJI+nWp55Jo=; b=hQVx4UJJCexNxkDhe8xD1fRzAZg2/Lcoy/6KoP4/LIKqGQOkV4TpuboOXDWxQ0Lfp+ Dx4owYFPn5XsMRAD5gZk+EHPTwZQ/EY1YMncAiw+0irdkjyxNVyLoK9rJhaHj1HQPDVW pH5NN9sp29mVQQihw2E5esIOfIPMewNefWv69mDelscSKmoCFWCiMnwRQVDvvR5E5mPh 9OpdGMK4Bhw+/+5LMT8j+mqLtI783pmCu7fpd0uDBibLARh1yJKz4hv58/wb2x9vtSAu BfJ0Z9mKpkLtI1USbFg5ZI6MYqHGC/Uq+iFtFapS2n2qDdNInjVZMiqHGjAOHg84RleB WHaA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h8si845498pjs.13.2019.07.08.16.35.02; Mon, 08 Jul 2019 16:35:17 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727679AbfGHWet (ORCPT + 99 others); Mon, 8 Jul 2019 18:34:49 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:18700 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1727460AbfGHWeo (ORCPT ); Mon, 8 Jul 2019 18:34:44 -0400 X-UUID: 335b721a9cd24d2893cdc49dfec50733-20190709 X-UUID: 335b721a9cd24d2893cdc49dfec50733-20190709 Received: from mtkexhb02.mediatek.inc [(172.21.101.103)] by mailgw01.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 1836778172; Tue, 09 Jul 2019 06:34:37 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs01n2.mediatek.inc (172.21.101.79) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Tue, 9 Jul 2019 06:34:35 +0800 Received: from localhost.localdomain (10.17.3.153) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Tue, 9 Jul 2019 06:34:35 +0800 From: To: CK Hu , Philipp Zabel , Rob Herring , Matthias Brugger CC: David Airlie , Daniel Vetter , Mark Rutland , , , , , , Yongqiang Niu Subject: [PATCH v4, 17/33] drm/mediatek: add component OVL_2L1 Date: Tue, 9 Jul 2019 06:33:57 +0800 Message-ID: <1562625253-29254-18-git-send-email-yongqiang.niu@mediatek.com> X-Mailer: git-send-email 1.8.1.1.dirty In-Reply-To: <1562625253-29254-1-git-send-email-yongqiang.niu@mediatek.com> References: <1562625253-29254-1-git-send-email-yongqiang.niu@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-TM-SNTS-SMTP: 3D70BDC702B84D336EDDE4EFD7E5C33C85E6BFD3F61704312E1C2EB6E82711922000:8 X-MTK: N Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Yongqiang Niu This patch add component OVL_2L1 Signed-off-by: Yongqiang Niu Reviewed-by: CK Hu --- drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c | 1 + drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.h | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c b/drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c index bcbf673..1aa4224 100644 --- a/drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c +++ b/drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c @@ -268,6 +268,7 @@ struct mtk_ddp_comp_match { [DDP_COMPONENT_OVL0] = { MTK_DISP_OVL, 0, NULL }, [DDP_COMPONENT_OVL1] = { MTK_DISP_OVL, 1, NULL }, [DDP_COMPONENT_OVL_2L0] = { MTK_DISP_OVL_2L, 0, NULL }, + [DDP_COMPONENT_OVL_2L1] = { MTK_DISP_OVL_2L, 1, NULL }, [DDP_COMPONENT_PWM0] = { MTK_DISP_PWM, 0, NULL }, [DDP_COMPONENT_PWM1] = { MTK_DISP_PWM, 1, NULL }, [DDP_COMPONENT_PWM2] = { MTK_DISP_PWM, 2, NULL }, diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.h b/drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.h index 8f586d0..8ac9f62 100644 --- a/drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.h +++ b/drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.h @@ -60,6 +60,7 @@ enum mtk_ddp_comp_id { DDP_COMPONENT_OD1, DDP_COMPONENT_OVL0, DDP_COMPONENT_OVL_2L0, + DDP_COMPONENT_OVL_2L1, DDP_COMPONENT_OVL1, DDP_COMPONENT_PWM0, DDP_COMPONENT_PWM1, -- 1.8.1.1.dirty