From patchwork Thu Jan 8 01:39:12 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hyungwon Hwang X-Patchwork-Id: 5589691 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 20A02BF6C3 for ; Thu, 8 Jan 2015 01:39:26 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4A8E82035D for ; Thu, 8 Jan 2015 01:39:25 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 7EE1220374 for ; Thu, 8 Jan 2015 01:39:24 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E2B176E3F8; Wed, 7 Jan 2015 17:39:22 -0800 (PST) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mailout1.samsung.com (mailout1.samsung.com [203.254.224.24]) by gabe.freedesktop.org (Postfix) with ESMTP id 7B9866E3F8 for ; Wed, 7 Jan 2015 17:39:21 -0800 (PST) Received: from epcpsbgr3.samsung.com (u143.gpu120.samsung.co.kr [203.254.230.143]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NHU00JV84LJR210@mailout1.samsung.com> for dri-devel@lists.freedesktop.org; Thu, 08 Jan 2015 10:39:19 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [172.20.52.113]) by epcpsbgr3.samsung.com (EPCPMTA) with SMTP id 6B.CF.18484.7CFDDA45; Thu, 08 Jan 2015 10:39:19 +0900 (KST) X-AuditID: cbfee68f-f791c6d000004834-9a-54addfc712cd Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 39.A7.20081.7CFDDA45; Thu, 08 Jan 2015 10:39:19 +0900 (KST) Received: from localhost.localdomain ([10.252.82.145]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0NHU003AX4LERB90@mmp1.samsung.com>; Thu, 08 Jan 2015 10:39:19 +0900 (KST) From: Hyungwon Hwang To: dri-devel@lists.freedesktop.org Subject: [PATCH] Revert "drm/exynos: resolve infinite loop issue on multi-platform" Date: Thu, 08 Jan 2015 10:39:12 +0900 Message-id: <1420681152-20213-1-git-send-email-human.hwang@samsung.com> X-Mailer: git-send-email 1.9.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrILMWRmVeSWpSXmKPExsWyRsSkUPf4/bUhBrumy1hc+fqezWLpjD5W i0n3J7A4MHvc7z7O5NG3ZRVjAFMUl01Kak5mWWqRvl0CV8brvdwFWzkr+pbsYm5g/MDexcjJ ISFgIrHl9BMmCFtM4sK99WxdjFwcQgJLGSUOXdjLDFN0s+EYC0RiEaPEng/N7BBOG5PEtLXX wdrZBPQkFlz7ATZWREBZ4u/EVYwgNrOAk8SeXdNYQWxhgVCJtnkPwGpYBFQljt9bBtbLK+Au cfXyTkaIbXISJ49NZgVZICFwhk3i8ta/bBANAhLfJh8COoMDKCErsekA1HWSEgdX3GCZwCi4 gJFhFaNoakFyQXFSepGxXnFibnFpXrpecn7uJkZgyJ3+96x/B+PdA9aHGAU4GJV4eAv61oQI sSaWFVfmHmI0BdowkVlKNDkfGNh5JfGGxmZGFqYmpsZG5pZmSuK8C6V+BgsJpCeWpGanphak FsUXleakFh9iZOLglGpgjNnRcffWMr0tXRXr02zF1xyxSWabGZWoLi7w+GrQBoeOudcOfzlY wiIT4f3JjtO7feHpUpni7/UbLk1d8/biqZ5vy7wNzuZf9Gk9ui1MNqR8Ko9g9471U5a+qjnh GhR+8Hfm389bVP0DFqQriAiEy704fPbMnK5ai0r3eQKXfe+uXjvHZMOfKCWW4oxEQy3mouJE AAStOeE0AgAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrNLMWRmVeSWpSXmKPExsVy+t9jAd3j99eGGJz7J2Jx5et7NoulM/pY LSbdn8DiwOxxv/s4k0ffllWMAUxRDYw2GamJKalFCql5yfkpmXnptkrewfHO8aZmBoa6hpYW 5koKeYm5qbZKLj4Bum6ZOUBblBTKEnNKgUIBicXFSvp2mCaEhrjpWsA0Ruj6hgTB9RgZoIGE NYwZr/dyF2zlrOhbsou5gfEDexcjJ4eEgInEzYZjLBC2mMSFe+vZuhi5OIQEFjFK7PnQzA7h tDFJTFt7nQmkik1AT2LBtR9g3SICyhJ/J65iBLGZBZwk9uyaxgpiCwuESrTNewBWwyKgKnH8 3jKwXl4Bd4mrl3cyQmyTkzh5bDLrBEbuBYwMqxhFUwuSC4qT0nMN9YoTc4tL89L1kvNzNzGC A/qZ1A7GlQ0WhxgFOBiVeHgL+taECLEmlhVX5h5ilOBgVhLh7Tq7NkSINyWxsiq1KD++qDQn tfgQoynQ9onMUqLJ+cBoyyuJNzQ2MTOyNDI3tDAyNlcS51WybwsREkhPLEnNTk0tSC2C6WPi 4JRqYCwWrHz4XPvbn8Pbjz04uulh0pGYHR9F53vHBquEsIg+8+OO9rshfubFBgHjxKKX7WeM 4+q0L5gvEFZXWXJGe9H52ikJXK/TjgtNbGdze8nYF3KHI0D0VrUVR++E43f/fjn5JqFnqkNv l+XElVsi9i5Qn1z+y3wSY+79nmYJq6k6PMz9r27f5VFiKc5INNRiLipOBAA3qDAefgIAAA== DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Cc: Hyungwon Hwang 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: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch reverts commit 5cbb37df378d ("drm/exynos: resolve infinite loop issue on multi-platform"). This logic is already included. Signed-off-by: Hyungwon Hwang --- drivers/gpu/drm/exynos/exynos_drm_drv.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_drv.c b/drivers/gpu/drm/exynos/exynos_drm_drv.c index 25ba362..d71fb54 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_drv.c +++ b/drivers/gpu/drm/exynos/exynos_drm_drv.c @@ -646,18 +646,6 @@ static int exynos_drm_init(void) if (!is_exynos) return -ENODEV; - /* - * Register device object only in case of Exynos SoC. - * - * Below codes resolves temporarily infinite loop issue incurred - * by Exynos drm driver when using multi-platform kernel. - * So these codes will be replaced with more generic way later. - */ - if (!of_machine_is_compatible("samsung,exynos3") && - !of_machine_is_compatible("samsung,exynos4") && - !of_machine_is_compatible("samsung,exynos5")) - return -ENODEV; - exynos_drm_pdev = platform_device_register_simple("exynos-drm", -1, NULL, 0); if (IS_ERR(exynos_drm_pdev))