From patchwork Fri Jul 8 09:41:02 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ying Liu X-Patchwork-Id: 9220343 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 861DD60572 for ; Fri, 8 Jul 2016 09:41:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7699A28638 for ; Fri, 8 Jul 2016 09:41:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6AFD52863A; Fri, 8 Jul 2016 09:41:50 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F3D6728638 for ; Fri, 8 Jul 2016 09:41:49 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 0EBE26E07E; Fri, 8 Jul 2016 09:41:49 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-sn1nam01on0084.outbound.protection.outlook.com [104.47.32.84]) by gabe.freedesktop.org (Postfix) with ESMTPS id BFB7B6E07E for ; Fri, 8 Jul 2016 09:41:43 +0000 (UTC) Received: from BLUPR0301CA0013.namprd03.prod.outlook.com (10.162.113.151) by BY1PR03MB1497.namprd03.prod.outlook.com (10.162.210.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.528.16; Fri, 8 Jul 2016 09:41:41 +0000 Received: from BL2FFO11FD058.protection.gbl (2a01:111:f400:7c09::123) by BLUPR0301CA0013.outlook.office365.com (2a01:111:e400:5259::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.534.14 via Frontend Transport; Fri, 8 Jul 2016 09:41:40 +0000 Authentication-Results: spf=softfail (sender IP is 192.88.168.50) smtp.mailfrom=gmail.com; ffwll.ch; dkim=none (message not signed) header.d=none; ffwll.ch; dmarc=fail action=none header.from=gmail.com; Received-SPF: SoftFail (protection.outlook.com: domain of transitioning gmail.com discourages use of 192.88.168.50 as permitted sender) Received: from tx30smr01.am.freescale.net (192.88.168.50) by BL2FFO11FD058.mail.protection.outlook.com (10.173.161.126) with Microsoft SMTP Server (TLS) id 15.1.523.9 via Frontend Transport; Fri, 8 Jul 2016 09:41:40 +0000 Received: from victor.ap.freescale.net (victor.ap.freescale.net [10.192.241.62]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id u689fBMw003192; Fri, 8 Jul 2016 02:41:37 -0700 From: Liu Ying To: Subject: [PATCH v4 10/10] drm/imx: atomic phase 3 step 3: Advertise DRIVER_ATOMIC Date: Fri, 8 Jul 2016 17:41:02 +0800 Message-ID: <1467970862-28012-11-git-send-email-gnuiyl@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1467970862-28012-1-git-send-email-gnuiyl@gmail.com> References: <1467970862-28012-1-git-send-email-gnuiyl@gmail.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131124445004058530; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7916002)(2980300002)(199003)(189002)(189998001)(76482005)(55446002)(86362001)(7846002)(77096005)(87936001)(305945005)(97736004)(50986999)(110136002)(2950100001)(73392002)(6806005)(104016004)(356003)(2906002)(87572001)(4326007)(81442002)(68736007)(73972006)(586003)(76176999)(82202001)(61266001)(92566002)(8676002)(47776003)(36756003)(81156014)(81166006)(8936002)(106466001)(105596002)(6260500002)(19580405001)(19580395003)(50466002)(50226002)(33646002)(83322999)(5003940100001)(229853001)(2351001)(48376002)(11100500001); DIR:OUT; SFP:1101; SCL:1; SRVR:BY1PR03MB1497; H:tx30smr01.am.freescale.net; FPR:; SPF:SoftFail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD058; 1:Ssw3PZBDbN5r+k+aiNomv5WY8FyPWsNLetVY3ZVdQE8v4Kj+/Yceq07M2Ol81xXNB3I/8zQdNi5riiNB1kpb+H4cACGc4AzLl0pbZxKVSpW6va17IjaHMUlbttJEwum/NvCrPcHGDHR3ZKfXvqDKjjr5xld7t8IErg03KzW7ZddijVqqEEVPpfv/gq/1GTVPRFB/2bhuE9XNVjvx91UBUF2Ek95DBWQU92nxHChqxmkjXvOctYFHpHxt6og5MxCSL0alX651GtZu/Ms6Hph8T/siAVppmnRHWYveOhuy6DbzfhNLdlgoKn1NF1sjrUEhl+oDaeIdhawWY/Oel4P0ktoVkHn62gyeLvghuNFp9yhqRc7sOl5ncs4D/cclGHWCl/IFM0YQh2EfUDHFa8GbHcAVpoh8Y78qAVWp7CPNrb4cq0C1FvumWiqu+p9lbnUpYSnWlIpaBWxLEtWSMC1U0mKUKjz3BP7iaUbZy5B4D9b1/S41Ey/QW2+kpRmGkQwuxdwV3mMkl8geI7aa+vxuf5MNMgzRFTVLETjfyxl0NO2wpVzp9Atiaz9qRU9JzYH8l7hmj0xrfQBJys1tApfvnw== MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 1bf1fb03-7cab-4983-e339-08d3a7141037 X-Microsoft-Exchange-Diagnostics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9iRaCbH30JVS9F1muaiQdAQLavGDN5R6moEvXQeCp3x564d80jmIOar3C8vlkE1tI05ThyW+PX99GlR//trPiLb8EyiULHDKGPCqEK99ESo6wowRT+g==; 4:Ho2zjCGA05+FF9lTx9S3db31gBWS808uQo+uCL5JPjiGBRWxgJC1iIKJH1piDA/8qkpakYcWvQpR76M5wf9awJh7oB/i+uLNWl3jCqxHtL8j2Jn0HgEHBuEskKrLDXPEqwgtVUzyICFQC/bFq6XCxgWrRWjFXdkIav2ctMFpuNIvS78nfX+nTS8SWfgbrvoqCJVOqPD4ER7n1ceWBuoBiLYOVQuCoSsxBXryPuSW5ongEH0L+VFVdPXexmxZpesksUwdVg5bY94g4jxMQOxDR11QUkD+khBRDBQ7fzPTnYC920aem/RDkJrC8yLnKr3nI7Okoy6C9+AwZj6lxQIZnsYZDDFYHMzGF8DZfxA3L+er2UDrE3fpUps85yWyn7G6ZSEOhGsV/qDTYpsoZCO3MQJxYUodSiB/clDZjoik6ENI6/+b2yZhIAfXW2e6FfM4YAqE24qvRa7vqYz0uoIDFutlD/8ZNowpPjnoHIahG8I= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(13018025)(13023025)(13017025)(13024025)(13015025)(5005006)(8121501046)(10201501046)(3002001)(6055026); SRVR:BY1PR03MB1497; BCL:0; PCL:0; RULEID:(400006); SRVR:BY1PR03MB1497; X-Forefront-PRVS: 0997523C40 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY1PR03MB1497; 23:QUChGba9oGQwj03+YdWfmgA4lpAYAnMFEyzKEI0zd?= =?us-ascii?Q?iUMYV1L6F6Bg/81ACAlA++aOpQ2HNx/IR6mFkJfxtdo38Mjr6ezA64/YHfR2?= =?us-ascii?Q?ljmWqRzDQ5qOQQ6CwFKrKbavyicHjjQvdGBSSqUgPYgVdvSMbDMfw8ADnL8+?= =?us-ascii?Q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N3xJyNrzUipsWAYajG6L1VwjM6mMo4b2t5C8mvAnNdxVoNkN5J9BE9bG4mpxK4j5iwvz1TRPZpr6rsoBnpaBCAqin1x2S SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Jul 2016 09:41:40.0938 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY1PR03MB1497 Cc: Russell King , Daniel Vetter X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP With all the beforehand phases and steps done, we can adverstise DRIVER_ATOMIC. Signed-off-by: Liu Ying --- v3->v4: * None. v2->v3: * None. v1->v2: * None. drivers/gpu/drm/imx/imx-drm-core.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/imx/imx-drm-core.c b/drivers/gpu/drm/imx/imx-drm-core.c index f14ad2b..9f7dafc 100644 --- a/drivers/gpu/drm/imx/imx-drm-core.c +++ b/drivers/gpu/drm/imx/imx-drm-core.c @@ -428,7 +428,8 @@ static const struct drm_ioctl_desc imx_drm_ioctls[] = { }; static struct drm_driver imx_drm_driver = { - .driver_features = DRIVER_MODESET | DRIVER_GEM | DRIVER_PRIME, + .driver_features = DRIVER_MODESET | DRIVER_GEM | DRIVER_PRIME | + DRIVER_ATOMIC, .load = imx_drm_driver_load, .unload = imx_drm_driver_unload, .lastclose = imx_drm_driver_lastclose,