Message ID | 1464686671-20299-11-git-send-email-gnuiyl@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <dri-devel-bounces@lists.freedesktop.org> 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 3E11B60761 for <patchwork-dri-devel@patchwork.kernel.org>; Tue, 31 May 2016 09:25:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3088D25D97 for <patchwork-dri-devel@patchwork.kernel.org>; Tue, 31 May 2016 09:25:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2571A2796F; Tue, 31 May 2016 09:25:15 +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 CC0F225D97 for <patchwork-dri-devel@patchwork.kernel.org>; Tue, 31 May 2016 09:25:14 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 18D526E378; Tue, 31 May 2016 09:25:13 +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-bn1on0091.outbound.protection.outlook.com [157.56.110.91]) by gabe.freedesktop.org (Postfix) with ESMTPS id 907606E378 for <dri-devel@lists.freedesktop.org>; Tue, 31 May 2016 09:25:09 +0000 (UTC) Received: from CH1PR03CA010.namprd03.prod.outlook.com (10.255.156.155) by BN1PR03MB204.namprd03.prod.outlook.com (10.255.200.155) with Microsoft SMTP Server (TLS) id 15.1.497.12; Tue, 31 May 2016 09:25:08 +0000 Received: from BL2FFO11OLC005.protection.gbl (10.255.156.132) by CH1PR03CA010.outlook.office365.com (10.255.156.155) with Microsoft SMTP Server (TLS) id 15.1.501.7 via Frontend Transport; Tue, 31 May 2016 09:25:07 +0000 Authentication-Results: spf=softfail (sender IP is 192.88.158.2) 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.158.2 as permitted sender) Received: from az84smr01.freescale.net (192.88.158.2) by BL2FFO11OLC005.mail.protection.outlook.com (10.173.160.91) with Microsoft SMTP Server (TLS) id 15.1.497.8 via Frontend Transport; Tue, 31 May 2016 09:25:06 +0000 Received: from victor.ap.freescale.net (victor.ap.freescale.net [10.192.241.62]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id u4V9OfRU013844; Tue, 31 May 2016 02:25:04 -0700 From: Liu Ying <gnuiyl@gmail.com> To: <dri-devel@lists.freedesktop.org> Subject: [PATCH v2 10/10] drm/imx: atomic phase 3 step 5: Advertise DRIVER_ATOMIC Date: Tue, 31 May 2016 17:24:31 +0800 Message-ID: <1464686671-20299-11-git-send-email-gnuiyl@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1464686671-20299-1-git-send-email-gnuiyl@gmail.com> References: <1464686671-20299-1-git-send-email-gnuiyl@gmail.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131091603073690348; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.158.2; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(979002)(6009001)(2980300002)(199003)(189002)(9170700003)(61266001)(87572001)(36756003)(73972006)(50986999)(86362001)(76176999)(82202001)(77096005)(4326007)(8676002)(229853001)(106466001)(81166006)(50466002)(81442002)(6806005)(2351001)(47776003)(73392002)(586003)(87936001)(55446002)(33646002)(8936002)(48376002)(50226002)(92566002)(2950100001)(110136002)(76482005)(5008740100001)(105596002)(5003940100001)(2906002)(19580395003)(19580405001)(6260500002)(83322999)(104016004)(189998001)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1101; SCL:1; SRVR:BN1PR03MB204; H:az84smr01.freescale.net; FPR:; SPF:SoftFail; MLV:ovrnspm; A:1; MX:1; PTR:InfoDomainNonexistent; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11OLC005; 1:tk78Xjn3aaEEWRpktdnzXrNI2beNRpZdcvKWUakjIc/7f3WXahPqpf0Y+IBtAMCMVqJb6BbJNx0qXjvzxLnxIJajc3LbCRGoyMv28BzXnH6zxDwDRwq9+PFVcXJB79SZrINiP7aIH0joWarWtm/mB7Jupnrd4u/k0lsjA439H5FZ3Kyfw/Zy9sddFB7SJL4J4RBSRpHFYnYU4BuGqT2peu4RbUBo8tif3PvcYwOSKmoDP6YsozQawfrHHmquseB+c6bjBTNIJnqGXSzhhs8Zl+DSKSxl6bWWgDY9neTXKzWRnyDK/yLffkA6ijm9/UK8x9wFIP6EENgnwKzmXpIcTNg7YX32TJziRQTAkWcbwhb6YPKe3CPfh7fONdTMhBSJcIGxP/ZN5oVKMcZI2kD41IeaGio+WL5TBiFpUs6LnOX9WBs5SIxbblFnDxaufTEApxveobyF4OSoThtAQZA1ciSa71LBAQffLdv5HY14CebygzGQQCZqyoqtsJ6Ty93D72CMFDzd0YZFPtr+JYLwWZcmlXorRurI11If1D40yvEGdu9+OZ1G8nyxYIqQ7yjQ MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: cff6ab2d-def7-4a7d-6aec-08d3893574b5 X-Microsoft-Exchange-Diagnostics: 1; BN1PR03MB204; 2:vsD130RGfRUy+c6shMyuCmg3kxJMzpuCHYCOKZlvHwjJvQ0kqz7rDBv4Nl42YObEMqEkPV3m2aGs4w5a8nmEOVkmU3G/OmxSBta/gNPNpKEw1WwcDQVNmwLbW/2FAunyKaXQ1TTvxEahCFK+TQYTCaX6pB3vtD5W0Yw0aUy18KKD11/DzHmelQAx4/vCZuDw; 3:kb6YDhG7Z9iuWtgA2odTFjaHpU9FdFHY0qz6n/WkIDCTkoSQ7Td+HQ2Dw7/gIDu3Qio2D6N//4w6v51yoqqabAV6rBDc5OAkOlu+Dm1+ZDAd3L41j+lvMo49HHZvx4thBSmo0m7lk6eOF+jUOR+MjjbZgbqzD5Z+jdk2zdNhQN+z1KKpt0Em2HTDN9g/41EvCJPI8KhC7+3FY6Ah0ZQxznlS5F0vm1yZ9XSed3bUJWM=; 25:3zTCEKb8JrXYQP8lvYMtMxc9WdbOSe/r3EaHj0h/2ZM0M0jM0wzitWTBYCf1jZ+OM4XWQj6TxZSYyFTfm4Iud4EK3xobuhCw9TWqRORgeAmdzHgSjLcospS2wlguDMBhNv+1qFHI4KPFeTn5DNthCyY9opjtsvRdD0ZYbk+ch6C/IpUFYgQJ6Gac82zrQljeSX/IVA/9EvKkGdqRD8yqbsHkUGadT5ASt8CSspnQstqEmGu3sAoUFy7eifIG9Ns5aL24vj1sG8WPzUI9SPq1Cm71n0jOsZvvv8laBSn03ucHADbAdmWniWw707mKf4I8+7GsmToQ99CGnwchEDsxa9DDyqO0JUtRqyF4w8JpCoroVAHlhpsDio9tB4sV/Iek9jEBQT5XHIOOEyThMu8KPv5uwShsTli3nYk/+y4ZsuQ= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BN1PR03MB204; X-Microsoft-Antispam-PRVS: <BN1PR03MB20497F9927B62D8FF8F50F0DB460@BN1PR03MB204.namprd03.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(13024025)(13023025)(13015025)(13018025)(13017025)(8121501046)(5005006)(10201501046)(3002001)(6055026); SRVR:BN1PR03MB204; BCL:0; PCL:0; RULEID:(400006); SRVR:BN1PR03MB204; X-Microsoft-Exchange-Diagnostics: 1; BN1PR03MB204; 4:D3f87GsWoRqpP7xSHm4ARxyFnPRt+Ou7mgMeV/3j+YDAoOh1YnbWGaUozXYAR6g5TpR1sWVRSxmNfYY6KrAha0lSFBB7Nh7u8p51W7m2AI7UxyzrgeUlMXIFm6nQxr3t5/cRQxPkYd8uJc+Kqv5h3e3HhfK91reOToGWMOQhrcOUu7pebYgQn/nxzT4If8uDwWfFFu1MlTd/NkBetk5tCJtB+lvc4DjXaRCsqd938UkmpPIUmLh4z3CuFO6IF+xH9wce3lu2jKfMT5+bDLxWpT9/tEfAglYoJRF7BSeeS4IlUTaYC6e3I7GoTQaok+wlGIQAuVg1ENj+CkRkVozLkfL3JHtbuDzurjc2BZwR6r57yid7eTdqMfFuyv8tZ33nglYM04F7Ss25iKTSSRlyQeFf2GHttdn3dAkVa8md72+5qcxm7nwxunk1ZjE8e6yFFxl0/e24lVUUHhxh/e+uTsQdqVFoBeHUoKHWV4IDI/M= X-Forefront-PRVS: 095972DF2F X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN1PR03MB204; 23:9o+yXoM0cB/9VHsWVo2+AJdgkgFdivr59vcohMDNLr?= =?us-ascii?Q?iS3+YQS07CRw8UmirZphzy73xYcEzcqNd1zmIaUNQcXaSMPX5UciI/JGf8vS?= =?us-ascii?Q?uiDmwN8hH3WV+FRnTXNqhrKR2eMebHssqwHcSJThDbPtxYo+d/MOXFa6kzs0?= =?us-ascii?Q?K/WKO3LiiK+pUAgsFDUvwZvrcTuGiZe0bqmDOqQZpnHXB9iQwO3q19dYZQwe?= =?us-ascii?Q?LmDR7bspHcKeIbZ4kaasEcA5c6vZbk+dWOWoyWl6cSFQUxr++/FAZsd+vlIq?= =?us-ascii?Q?AO0NgRpLnR4zj5vhnRg36eaT8tvX6JlEFPd2Tniuz6ENpW8ZPst4x8iEyh6R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ykFoH9PzvM90C895O1X5WMX1tALwRaRMdvXel3hS?= =?us-ascii?Q?VO8+BLIARh+1lPUU9hV4hunXh9HE4JAiMaoqvq?= X-Microsoft-Exchange-Diagnostics: 1; BN1PR03MB204; 5:sCgFU6EcRPwoq1o76WgqIqEXprd+fVAizXRY1+Qvb2xsr3kaFhRgVhEhGlKo8A+0mnE2/SMjhVoreeq8c4N/lJxrLSDzGCPFFSS09D4chdh7PCVu2LvCJ3dX4I0kT8FmVZQVMNCdoPyl2nDbozSTPP8iouTG33vOoiKL+rEVd+A=; 24:PmDwDnAFPUoUidBfswyFoBa2G/Mw/AUbYco3VMoqaV/lHaZzF8iIsCBmm65XA1EgEY6DbNLeouDIU42kIdmA9hnSUyX0CUGLus5ppKn2gV8=; 7:56IVLAMiWSW7rn1zDyfTe62xF2HpxNdOQwM3NJ9wwK7h7/IrVipcYUqtIShniGe7uHAxfdVDq1IB/tHRw3EYtV/oko24pKhUqKrtYoxDbiEBfA053jBmgG7APV6Tha4oqTLOiMISlp7Ot6uLV1nHOz1czclikNgt4TXqExsZZt4p0Q59x71aij38v6w+idG4 SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 May 2016 09:25:06.8386 (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.158.2]; Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN1PR03MB204 Cc: Russell King <rmk+kernel@arm.linux.org.uk>, Daniel Vetter <daniel.vetter@ffwll.ch> X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development <dri-devel.lists.freedesktop.org> List-Unsubscribe: <https://lists.freedesktop.org/mailman/options/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=unsubscribe> List-Archive: <https://lists.freedesktop.org/archives/dri-devel> List-Post: <mailto:dri-devel@lists.freedesktop.org> List-Help: <mailto:dri-devel-request@lists.freedesktop.org?subject=help> List-Subscribe: <https://lists.freedesktop.org/mailman/listinfo/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=subscribe> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" <dri-devel-bounces@lists.freedesktop.org> X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/gpu/drm/imx/imx-drm-core.c b/drivers/gpu/drm/imx/imx-drm-core.c index d2bb743..a741980 100644 --- a/drivers/gpu/drm/imx/imx-drm-core.c +++ b/drivers/gpu/drm/imx/imx-drm-core.c @@ -502,7 +502,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,
With all the beforehand phases and steps done, we can adverstise DRIVER_ATOMIC. Signed-off-by: Liu Ying <gnuiyl@gmail.com> --- v1->v2: * None. drivers/gpu/drm/imx/imx-drm-core.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)