From patchwork Tue May 24 10:10:41 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ying Liu X-Patchwork-Id: 9133395 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 E6AE8607D5 for ; Tue, 24 May 2016 10:27:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E2B9428233 for ; Tue, 24 May 2016 10:27:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D7B4F28258; Tue, 24 May 2016 10:27: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 8A61B28233 for ; Tue, 24 May 2016 10:27:50 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E7CE76E707; Tue, 24 May 2016 10:27:45 +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-bn1on0055.outbound.protection.outlook.com [157.56.110.55]) by gabe.freedesktop.org (Postfix) with ESMTPS id C14F66E704 for ; Tue, 24 May 2016 10:27:16 +0000 (UTC) Received: from BLUPR0301CA0012.namprd03.prod.outlook.com (10.162.113.150) by BY2PR0301MB0599.namprd03.prod.outlook.com (10.160.125.21) with Microsoft SMTP Server (TLS) id 15.1.492.11; Tue, 24 May 2016 10:11:21 +0000 Received: from BL2FFO11FD015.protection.gbl (2a01:111:f400:7c09::125) by BLUPR0301CA0012.outlook.office365.com (2a01:111:e400:5259::22) with Microsoft SMTP Server (TLS) id 15.1.501.7 via Frontend Transport; Tue, 24 May 2016 10:11:21 +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 BL2FFO11FD015.mail.protection.outlook.com (10.173.160.223) with Microsoft SMTP Server (TLS) id 15.1.497.8 via Frontend Transport; Tue, 24 May 2016 10:11:20 +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 u4OABCM1024148; Tue, 24 May 2016 03:11:18 -0700 From: Liu Ying To: Subject: [PATCH 02/14] drm/imx: plane: Don't set plane->crtc in ipu_plane_update() Date: Tue, 24 May 2016 18:10:41 +0800 Message-ID: <1464084653-16684-3-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: 131085582807342223; (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)(199003)(189002)(9170700003)(104016004)(77096005)(6806005)(5008740100001)(11100500001)(76176999)(189998001)(82202001)(2950100001)(50986999)(76482005)(110136002)(36756003)(87572001)(81442002)(50226002)(86362001)(73392002)(5003940100001)(73972006)(2906002)(92566002)(8676002)(81166006)(48376002)(586003)(1220700001)(19580395003)(87936001)(50466002)(105596002)(33646002)(83322999)(8936002)(61266001)(106466001)(4326007)(229853001)(2351001)(47776003)(19580405001); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR0301MB0599; H:tx30smr01.am.freescale.net; FPR:; SPF:SoftFail; MLV:sfv; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD015; 1:z3/s80jBl5QkMdtJ8BbF0fHVa8a/tV4Tw0oHGfy7mzwIh8+Xc/nkUmh1AiNHH/BU4nFeEyXKmYmxJoP8VBySB7xKakS7f+BWQmlXspIjVs/kMPghKSbGequtzVau/50ed2A0JTOoJRhSVdyhKfmcszeXa74MYB2PeGJ83MsJ7xeXxh0NvuogNI1iG+MiAw9t+WnGA4U2WJx9GywwBW/wOSOvvjqn4taSAQU9R4O8vdT9pRJrqht76BFNYQqWpqfyPnRX9defkZ5mTSWibtpMGZXr8KEMtCclSx5gw48WG1cbY4HvGs0vgVdXWde9NyAHllaRkbUCYVTnq3f5itFjajbHim2NW/u3/VsX5fXCkVWCANO0uA6rX72+DEAuPPIRBrbpd4yuDQ/uAkgByFTDI/aRlf4pgzhDz4Kq//u7VDfNNtEbMqjTSm03CqQdv69EZWytI7Z7ltJtdqdKHXWr9mRWZ2T0TcIxc9V7wt5Teqd7k/uHnXV4Dntcej7O/rV/+7D2HDtqnVGS5sLKIReTeqpQ6N9UlOzNspHSlZpAWnzhpD6z0FShe1XCL7WhO63A MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 38500dd2-96ba-40d4-bb2e-08d383bbc0dc X-Microsoft-Exchange-Diagnostics: 1; BY2PR0301MB0599; 2:ehEVfYKyjVSGeJSAMXXUji2cddB87pHbiSDVyFEgejLDzDx3Vz1iG68EQq6G3t/jX8KPH4enpTVDNStSSQQ0T55oX8gwMTV7YYEMk0O6A0HaijQ8EJKfFMkezQfSI079diUWZBdY5oTV6viqPJbe+IOtY93PhWaA94FPP0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OlaJims7OtP4LeoHGlL14= 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:BY2PR0301MB0599; BCL:0; PCL:0; RULEID:(400006); SRVR:BY2PR0301MB0599; X-Microsoft-Exchange-Diagnostics: 1; BY2PR0301MB0599; 4:pbVQ+H5FmMBxUK1HlOvN3UHUcgeOIVNrTWTh00+YQUKBIEVDnim9WwGwuBX5MEm6XY9pDJ2D98wshbkUQMvxt4TEn3OOQEbFWefWn6t+DU93IdurwxfG1uHxnbA/Ls9J2CTYOv+I0TrNCxTsEoyqz3KLygJw1eJJnDZOkyp2738LXz/P/TWBwGtN5EDiGwlG6P+25AyFjt15TIkwgsfGkI8pjC+ZVSbK8j0PMbyVhx7KgUcLfZAJdUgK2ChJKEEIkiecDxNiaPAEjm/ia28cXK4ebPZYmUutCSKvn9h+yB0NLLiY30zA24kDZnUg+uVkFhZlx2KVZWpPzGdmADVeRMK01j93lXyYMACEFrZF0l1JllVYNmsgjTbEOyIwmBwjclznOMe7j6p9D/elFj+4VPm66sjj7OT1rHESOClw38XBFPZtb8lrCip5Ls79pEKNOIOwJ+ttg1xdtuF08SUzZuILyos2qxdHlnwIDqREofc= X-Forefront-PRVS: 09525C61DB X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY2PR0301MB0599; 23:AA+Bhc1gMVadsTttr8NVqrfo+wXohnrCa4MU0IX?= =?us-ascii?Q?CkU7RNjMcBNDdZDst0kEmlfPEpaiDYYxs5hCKtNerxI1AfFzV/MpiFwir8g0?= =?us-ascii?Q?co/fMNpmV9ag2JTVxNd38UZZwHJV+95Dnf94ZSkurXPF+F8lO4SCAJcTVDWL?= =?us-ascii?Q?Mcg6P00et4wlBeEEn4VyrlmY15yfng3gPoEeoQeIcuAjMI59FY8FFpY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UNDySolRpE4sYO6TcePEsmPMCEjNfZg7rPaa1Wj?= =?us-ascii?Q?s3RK9vQHRjbSQbgz6bhdS1Jpd6i4h95ate7IwtpKM+viojro5FK4IaWyG3H4?= =?us-ascii?Q?mkCrZrE8DOztGWvw=3D?= X-Microsoft-Exchange-Diagnostics: 1; BY2PR0301MB0599; 5:zfHFdJhrRjZPVJxmLpRkz0dk/hs/90psElQgexKC1B83uNELKMllepuxlUKNP3RzZ8PeDCSMZXRPbQUEhMzuLE96DxJ1pqmEas9USPtQelAjs5dkH46sHWROnt7emyOf2pndfXdJ05R8cv21cFDXW6Ln8HGsJiOV/oFG+n1sg1U=; 24:1CGZFOLQ4KpMs7PZ0o0/a/EseCQW5fI1ErHSq30/pjrBcrJx/cjFWxXKNo88V/OiTRLWajdN1uHsx1T8tNTbMRFQbfmjtDUPdrefUOjzg+M=; 7:CuDCftFaUpwMQM1OArM/zWNI8lD6xHGLRTbrhzyWut/bx+lZitjgusL76pR1r9UGNbfWaQxFpK67w82P4j8/K/yfvdQUoFsJqgPPfVeI0M9wGzBipykwCoajF/x9WzsQe4VOLVnDgVGFJBVm7/u7S/OGuJgY3N9kweddtsFva/gBqxRiOijTPtF+vqK73Jye SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 May 2016 10:11:20.5470 (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: BY2PR0301MB0599 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 Since the drm core sets plane->crtc correctly, we don't need to do that. Signed-off-by: Liu Ying --- drivers/gpu/drm/imx/ipuv3-plane.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/imx/ipuv3-plane.c b/drivers/gpu/drm/imx/ipuv3-plane.c index 157032d..e6ec8eb 100644 --- a/drivers/gpu/drm/imx/ipuv3-plane.c +++ b/drivers/gpu/drm/imx/ipuv3-plane.c @@ -428,7 +428,6 @@ static int ipu_update_plane(struct drm_plane *plane, struct drm_crtc *crtc, if (crtc != plane->crtc) dev_dbg(plane->dev->dev, "crtc change: %p -> %p\n", plane->crtc, crtc); - plane->crtc = crtc; if (!ipu_plane->enabled) ipu_plane_enable(ipu_plane);