From patchwork Tue May 24 10:10:53 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ying Liu X-Patchwork-Id: 9133387 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 C9E60607D7 for ; Tue, 24 May 2016 10:27:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C573E2824F for ; Tue, 24 May 2016 10:27:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BA5D228285; Tue, 24 May 2016 10:27:24 +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 6F9582824F for ; Tue, 24 May 2016 10:27:24 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id C94276E706; Tue, 24 May 2016 10:27:21 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1on0063.outbound.protection.outlook.com [157.56.110.63]) by gabe.freedesktop.org (Postfix) with ESMTPS id ABFBF6E701 for ; Tue, 24 May 2016 10:27:08 +0000 (UTC) Received: from BY2PR03CA005.namprd03.prod.outlook.com (10.255.93.22) by BL2PR03MB468.namprd03.prod.outlook.com (10.141.92.27) with Microsoft SMTP Server (TLS) id 15.1.492.11; Tue, 24 May 2016 10:11:43 +0000 Received: from BN1AFFO11FD054.protection.gbl (10.255.93.4) by BY2PR03CA005.outlook.office365.com (10.255.93.22) with Microsoft SMTP Server (TLS) id 15.1.497.12 via Frontend Transport; Tue, 24 May 2016 10:11:43 +0000 Authentication-Results: spf=softfail (sender IP is 192.88.168.50) smtp.mailfrom=gmail.com; arm.linux.org.uk; dkim=none (message not signed) header.d=none; arm.linux.org.uk; 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 BN1AFFO11FD054.mail.protection.outlook.com (10.58.53.69) with Microsoft SMTP Server (TLS) id 15.1.497.8 via Frontend Transport; Tue, 24 May 2016 10:11:42 +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 u4OABCMD024148; Tue, 24 May 2016 03:11:40 -0700 From: Liu Ying To: Subject: [PATCH 14/14] drm/imx: atomic phase 3 step 5: Advertise DRIVER_ATOMIC Date: Tue, 24 May 2016 18:10:53 +0800 Message-ID: <1464084653-16684-15-git-send-email-gnuiyl@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1464084653-16684-1-git-send-email-gnuiyl@gmail.com> References: <1464084653-16684-1-git-send-email-gnuiyl@gmail.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131085583028077061; (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)(2980300002)(189002)(199003)(9170700003)(189998001)(19580405001)(48376002)(11100500001)(19580395003)(73392002)(50226002)(47776003)(76482005)(92566002)(106466001)(81442002)(6806005)(2950100001)(110136002)(5008740100001)(73972006)(104016004)(50466002)(61266001)(4326007)(77096005)(105596002)(83322999)(82202001)(229853001)(8936002)(5003940100001)(2351001)(33646002)(2906002)(1220700001)(87572001)(8676002)(81166006)(586003)(76176999)(36756003)(87936001)(86362001)(50986999); DIR:OUT; SFP:1101; SCL:1; SRVR:BL2PR03MB468; H:tx30smr01.am.freescale.net; FPR:; SPF:SoftFail; MLV:sfv; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD054; 1:J27PJaqX5+6YlV/hscvf74IIf7szdqxCiDL2RrgJEFaHJuv+kMfVmBBQ8ultgE2m6k4WkgBDxincTQBNFIYlOX9FcfUM2hbujTwOtqj8pQ3kjut1ZH9pgN8J4ZklM4wD5n713qjRw7/3jyoVgIp4h1K5idxZgWwZyMAQ6NBVSDQN+ueVOa09XUqVKeDPXmacyz4zMKJpetHlAAvNm7VQxnY13Jq3Mg4iqLhN3+pudGR7WMVoUzncLsWFbwuF3j2bsWumZOgcj5ZA2z0+5qyw4BlLeNirG+vYRdystrTS9PvgiP4ueEh1D4Rw8AIILNmqW0ddA/n7Gw45CntbZTJKS9c3nJKy+H/5k5BBQ5C+5VYmA0ScCDH5mk67IWYDnpvV8QsTqCgZVdL2klrLkFp+BvOvXqElh/0HAV3Fc/CL0ZAMzn4keSL3gGSDKm++NzX+yycjdneXKG2rWIKBm/CssVKfrJCuJBztP1qE36DOTfrrI93sNLJbA5j1UnbHSPqO1ZqREi2w7Agbib/vm3MKOEk5Xs53S94fAOzbEnzab7xfqG0Bwvm6km8LmdVWO1R3 MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: e1737c66-2cf8-4d42-e0a6-08d383bbce04 X-Microsoft-Exchange-Diagnostics: 1; BL2PR03MB468; 2:YpkojcRamTnwJasBK6WKJoTZmbZn+U4AUY9eQkIfw8oYHDA91kpPfC0+S6hTz8EaSQG1iybrYUk0w6X3xWdsd4UDNruS2dsMtbA4x/whNAAx146dRlvctzGIvNRr+/O9DR/oT9KUHfoRLJbenepIHP7q/9DSzn13A0Lgo1toTp7q8u3pccpzfKlk1VV3BaI4; 3:QHNotjCjbOfCgm1PZt5wTZMzJf9yMb+HDH2oMWcuauoFlfKTwUTgKoD3W6tabsPmYWSMz1ino2rjU/aBsSxzWgmqEAPPuw5LCJGRW4gqcMWWYUXttp15+5gcj2SWli1l4WFHKaag5FuxOilygRAETmthHbc/UYcZoWdZXyjYmX2f7eyAHft3VeQY1Yxw2LuJkN/uhWMGf0UchQBuldmTat6iA/R1Fb3P2gEsRaLhBgU=; 25:uou19lVTd0lh9QXhNS1XJ3EKfb+BcB/3PpFfmvBZh92j/yRdNSq+hsIlGJTHI15xUfpdd58vXm4CSoTwjg1Vnqr5Z/Q1bVNl4eVKG8jpNyQtagTpIzj8U+rgqm/pcwpbTk61Fsqrz7viPxndeoNeU0pSi/Lq64p/dcj3EVQh0uncwMN8gepTaOEwFq5eklgslD+cbCX5nk7fnB+yQzmS0g4jaF9/TLzm18Vmvxd7qKXcRdqi8LpxuchYq657VCBtp7GfM0GzlJmoXFyM57DFiX8QzdY9hEYlmPAynvrqMoJigv73pbuV8RxUvCgAHNl3+HK64CCXsIYpfEqpFZCvk1DNFQRSkfFl7DKj71qW8R9FdG66jK0uiJbNshSzlmoACJ6m3srGV0FetjkiAqNLmIyixAtUO48Lbi4nRS9ZNgM= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BL2PR03MB468; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(13015025)(13024025)(13023025)(13018025)(13017025)(8121501046)(5005006)(3002001)(10201501046)(6055026); SRVR:BL2PR03MB468; BCL:0; PCL:0; RULEID:(400006); SRVR:BL2PR03MB468; X-Microsoft-Exchange-Diagnostics: 1; BL2PR03MB468; 4:h/VQgdHkDVj9u6pyYoLetQoJ4xjOHW8P2gvbKdkOtQXWEksA2ALvaAmmHvIdd6jQWm6L6sBo282jxtwMbyKtbOda6HILx+PdMUmI5s4OS/1qJtRirG07Xa80hVoOdfeqAJNJJRpK0ttKrzvqpEkZQFuoy5/g++KHPkhPAvJw+0e4REZK15IIpgx8AlDNW5/b9BSCbu9PdaZDT6bwwIZVytcAMOtFOecpAbUDS6Y1JtFNbp3DH1mhj3y+Y4nI9R9GWFlEYPQ6c6v1oJzxCkEwSMC12rvxBJW771OvPyIFkTIRIZrXHl1axD0891PULIALpIp7J2/qA9rj/Zarq6PfRkGflFRweZtqAbg6Yxcbe8skxhIglpaEoFgu/IcuLR9rgg3LIiCdfXb/ImUonShMJSFuRZjsXMKVVtrhqYnc32zlVcvTBfx0L5xSWlrq1u9GlhTJwGka2w2q1L/Mmbi271G2AHoCtOxQLvZNgczIaKc= X-Forefront-PRVS: 09525C61DB X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BL2PR03MB468; 23:wwqJbmKIEKP36nvPWiJfiOKH9e/loVSn7Zoso0qQcD?= =?us-ascii?Q?cny0NIZ0UAIs305tWSFQL7PoU1p/bBUd+LB9NhPb6MKeLguMsUvT1Hheo3Fc?= =?us-ascii?Q?zi3XuruCEEpSH6Rzw58yPj85aNRHAX11kSSWyz7uWBj8BN6znQnPs2XIsv8c?= =?us-ascii?Q?ARRc547NcGQoDCICOSFk1MshE6kHkMKWNWzPHwBv4QUY2IqJvDoz1YLy8NOi?= =?us-ascii?Q?nzDLXrf1Qm7d2ST51orPUGO0WCfE8wUGGa/r5bJKajCX4DnSjytddP5tqFrB?= =?us-ascii?Q?MAVzK08kgs+SyvO1ITdYaMH9Wj57q+46qqbimqz1WJ9I3IdBMuH7bu/u4ul9?= =?us-ascii?Q?GnJWdssY970p1EfgzcV9pHTgpEIqYiLklmRQzHP1w8eg3xFApjPyey6/z2Du?= =?us-ascii?Q?jJronasy7udDzjjxInd7F4bdGjjEfTWiXRGmCZv4bn+rZ+xDBwLk24tDahIh?= =?us-ascii?Q?ucbVi1TrotJJFOwfdT/55dJOt5zRaTfAl6HfIoJJIrUCkkIqCgMngDUaCFD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0CSvuiewpgmgo3d+lMysdAVriikOT/eFT/Fs8cMUvU+Tt6am8Rx73jqQhEzHNZUsJNStxsJlYR5naDV3n0lV/c0DcvEzrXBYcQ5YnlM=; 7:EWbSfKJCVL+vm/TF/LfQ9IZy/nEwGGrXyQJd4kQT9glWKThOikWxhi48t+s5sbt4hqLRoYeGqZ/KaDzxTMOuhaAYLLhHreBBxiWd/ISglcszXzWkAjjtv31ibsqRULpQQ9E0sknTaM4h4TkZv/VWYKMT/IbW2SKmIJAACXCLD2MMu8eDXoS3IkFqs0za3K5j SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 May 2016 10:11:42.6205 (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: BL2PR03MB468 Cc: Russell King 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 --- 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 cb521cb..5f6ba2f 100644 --- a/drivers/gpu/drm/imx/imx-drm-core.c +++ b/drivers/gpu/drm/imx/imx-drm-core.c @@ -512,7 +512,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,