From patchwork Wed Nov 14 08:59:35 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Inki Dae X-Patchwork-Id: 1739971 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by patchwork1.kernel.org (Postfix) with ESMTP id EAC413FCF7 for ; Wed, 14 Nov 2012 09:02:27 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id D49D29F6DC for ; Wed, 14 Nov 2012 01:02:27 -0800 (PST) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mailout4.samsung.com (mailout4.samsung.com [203.254.224.34]) by gabe.freedesktop.org (Postfix) with ESMTP id 5894F9F6CC for ; Wed, 14 Nov 2012 01:01:11 -0800 (PST) Received: from epcpsbgm2.samsung.com (epcpsbgm2 [203.254.230.27]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MDG00830ZJWE140@mailout4.samsung.com> for dri-devel@lists.freedesktop.org; Wed, 14 Nov 2012 17:59:40 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [203.254.230.45]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 5D.79.12699.C7D53A05; Wed, 14 Nov 2012 17:59:40 +0900 (KST) X-AuditID: cbfee61b-b7f616d00000319b-1a-50a35d7c8b1d Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 6C.79.12699.C7D53A05; Wed, 14 Nov 2012 17:59:40 +0900 (KST) Received: from daeinki-desktop.10.32.193.11 ([10.90.51.53]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MDG00IF6ZNC0Z50@mmp2.samsung.com> for dri-devel@lists.freedesktop.org; Wed, 14 Nov 2012 17:59:40 +0900 (KST) From: Inki Dae To: airlied@linux.ie, dri-devel@lists.freedesktop.org Subject: [PATCH 1/2] drm/exynos: remove unnecessary code. Date: Wed, 14 Nov 2012 17:59:35 +0900 Message-id: <1352883576-25552-1-git-send-email-inki.dae@samsung.com> X-Mailer: git-send-email 1.7.4.1 DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrCLMWRmVeSWpSXmKPExsVy+t8zXd2a2MUBBr0/pS2ufH3P5sDocb/7 OFMAYxSXTUpqTmZZapG+XQJXxrfGpIK5bBVTVx9hb2BcxdrFyMkhIWAisadhLxuELSZx4d56 IJuLQ0hgGaPEr8XX2WCK/kx4zAiRmM4o8e/TTHYIZz2TxNrOEywgVWwCqhITV9wH6xARMJXo mLQULM4sUCixsOcpmC0sYClx4dJPJhCbBaj+wbtXYGfwCrhInDs0lQlim4LEgntv2SBqBCS+ TT4E1MsBFJeV2HSAGWSvhMAONokjDavZIeolJQ6uuMEygVFwASPDKkbR1ILkguKk9FwjveLE 3OLSvHS95PzcTYyQoJLewbiqweIQowAHoxIPb0D/ogAh1sSy4srcQ4wSHMxKIryxVosDhHhT EiurUovy44tKc1KLDzH6AF0ykVlKNDkfGPB5JfGGxgbGhoaWhmamlqYGOISVxHmbPVIChATS E0tSs1NTC1KLYMYxcXBKNTBuc1jvzxZz9s3dGw+3/djUkrtEkrE0J0+RXVFX5pJndRW7e4jF o/BHTEt1l/xWW6hc7K6w9EP9za8KN9pcbatCldOl1b+/VG+OzCifrXNLr3zjbP42cWbZO/3X 55aHv5N9LPL1nZ6tzIHThX8eTnPSu5n58llXg8Hr84k/ShhnLTM3v+OhtVyJpTgj0VCLuag4 EQAHPxLUVwIAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrMLMWRmVeSWpSXmKPExsVy+t9jQd2a2MUBBhP/ilhc+fqezYHR4373 caYAxqgGRpuM1MSU1CKF1Lzk/JTMvHRbJe/geOd4UzMDQ11DSwtzJYW8xNxUWyUXnwBdt8wc oLFKCmWJOaVAoYDE4mIlfTtME0JD3HQtYBojdH1DguB6jAzQQMI6xoxvjUkFc9kqpq4+wt7A uIq1i5GTQ0LAROLPhMeMELaYxIV769m6GLk4hASmM0r8+zSTHcJZzySxtvMEC0gVm4CqxMQV 99lAbBEBU4mOSUvB4swChRILe56C2cIClhIXLv1kArFZgOofvHsFto1XwEXi3KGpTBDbFCQW 3HvLNoGRewEjwypG0dSC5ILipPRcI73ixNzi0rx0veT83E2M4JB9Jr2DcVWDxSFGAQ5GJR7e gP5FAUKsiWXFlbmHGCU4mJVEeGOtFgcI8aYkVlalFuXHF5XmpBYfYvQB2j6RWUo0OR8YT3kl 8YbGJmZGlkZmxibmxsY4hJXEeZs9UgKEBNITS1KzU1MLUotgxjFxcEo1ME4Nf7Uh6dTMz8Yd B1/OeWi53u26ZfLP7e4zjtyKvKVynOPq/YcvNZTZCorj7FNmatvaSTdosb3u0TBk+ceQVqGv sG3Wicepk9b9Cu34MMklMeFhvFVImNa62S+SvaeHJ7n1L8lI//zy/OFr3hLPE4Ir1289mBxz 7+fjb98sq470uRfKVj4u3aTEUpyRaKjFXFScCABsZ9qihgIAAA== X-CFilter-Loop: Reflected Cc: kyungmin.park@samsung.com, sw0312.kim@samsung.com X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org Errors-To: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org plane->fb will be set to new fb after update_plane callback is called by drm_mode_set_plane() Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_drm_plane.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_plane.c b/drivers/gpu/drm/exynos/exynos_drm_plane.c index 60b877a..862ca1e 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_plane.c +++ b/drivers/gpu/drm/exynos/exynos_drm_plane.c @@ -204,7 +204,6 @@ exynos_update_plane(struct drm_plane *plane, struct drm_crtc *crtc, return ret; plane->crtc = crtc; - plane->fb = crtc->fb; exynos_plane_commit(plane); exynos_plane_dpms(plane, DRM_MODE_DPMS_ON);