From patchwork Sat Apr 12 00:39:52 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joonyoung Shim X-Patchwork-Id: 3972451 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.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id BA17DBFF02 for ; Sat, 12 Apr 2014 00:39:54 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 048C22034C for ; Sat, 12 Apr 2014 00:39:54 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id B6D112034A for ; Sat, 12 Apr 2014 00:39:52 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 97F7F6E48E; Fri, 11 Apr 2014 17:39:50 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mailout2.samsung.com (mailout2.samsung.com [203.254.224.25]) by gabe.freedesktop.org (Postfix) with ESMTP id 2CFAD6E48E for ; Fri, 11 Apr 2014 17:39:49 -0700 (PDT) Received: from epcpsbgr4.samsung.com (u144.gpu120.samsung.co.kr [203.254.230.144]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N3W00C8Q76C7P30@mailout2.samsung.com> for dri-devel@lists.freedesktop.org; Sat, 12 Apr 2014 09:39:48 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [172.20.52.112]) by epcpsbgr4.samsung.com (EPCPMTA) with SMTP id 71.4B.10364.45B88435; Sat, 12 Apr 2014 09:39:48 +0900 (KST) X-AuditID: cbfee690-b7f266d00000287c-49-53488b541cc6 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id E4.E8.28157.45B88435; Sat, 12 Apr 2014 09:39:48 +0900 (KST) Received: from localhost.localdomain ([10.89.71.119]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0N3W00GAK76B5C70@mmp1.samsung.com>; Sat, 12 Apr 2014 09:39:48 +0900 (KST) From: Joonyoung Shim To: dri-devel@lists.freedesktop.org Subject: [PATCH v2] drm/exynos: remove DRIVER_HAVE_IRQ feature Date: Sat, 12 Apr 2014 09:39:52 +0900 Message-id: <1397263192-8470-1-git-send-email-jy0922.shim@samsung.com> X-Mailer: git-send-email 1.8.1.2 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrJLMWRmVeSWpSXmKPExsWyRsSkQDek2yPYYMkzSYvGGfNZLa58fc9m Men+BBaLs01v2C1mTH7J5sDqMbvhIovH/e7jTB59W1YxBjBHcdmkpOZklqUW6dslcGU8exlT 0MdRsezXRbYGxhdsXYycHBICJhIbPyxlhbDFJC7cWw8U5+IQEljKKHH82it2mKLrm+8zgthC AosYJU6dEIcoamWSWDB9IzNIgk1AT+LOtuNMILaIgLLE34mrgBo4OJgFkiXuXNYGCQsL2Ek0 b9wKtoxFQFVi8p+3YDavgJvEmU+TWSB2KUj8vHwC7AgJgcdsEj0rrzJDNAhIfJt8iAVkpoSA rMSmA8wQ9ZISB1fcYJnAKLiAkWEVo2hqQXJBcVJ6kYlecWJucWleul5yfu4mRmAwnv73bMIO xnsHrA8xJgONm8gsJZqcDwzmvJJ4Q2MzIwtTE1NjI3NLM9KElcR51R4lBQkJpCeWpGanphak FsUXleakFh9iZOLglGpgbAyevaMh8/bZ6wb8GuuKjaYnh3jJTLoQWChRlyA+0XlxY8/M2uqL GcvX26ye9y0jJiRbwNv+roDBXy/+nSZfqsKObnv1w3zaHU2pjb0b6ipOty/3s+S59fqa85Hv r99zdt3xT8o/KiPpzTh55zKxjy1HpG8Lfnum+WfPqocGB9dE3/+pP1NzrhJLcUaioRZzUXEi APxs6x1cAgAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrGIsWRmVeSWpSXmKPExsVy+t9jAd2Qbo9gg5vnhCwaZ8xntbjy9T2b xaT7E1gszja9YbeYMfklmwOrx+yGiywe97uPM3n0bVnFGMAc1cBok5GamJJapJCal5yfkpmX bqvkHRzvHG9qZmCoa2hpYa6kkJeYm2qr5OIToOuWmQO0VEmhLDGnFCgUkFhcrKRvh2lCaIib rgVMY4Sub0gQXI+RARpIWMOY8exlTEEfR8WyXxfZGhhfsHUxcnJICJhIXN98nxHCFpO4cG89 WFxIYBGjxKkT4l2MXEB2K5PEgukbmUESbAJ6Ene2HWcCsUUElCX+TlwF1MzBwSyQLHHnsjZI WFjATqJ541ZWEJtFQFVi8p+3YDavgJvEmU+TWSB2KUj8vHyCbQIj9wJGhlWMoqkFyQXFSem5 RnrFibnFpXnpesn5uZsYwaH+THoH46oGi0OMAhyMSjy8HzQ8goVYE8uKK3MPMUpwMCuJ8L7N AgrxpiRWVqUW5ccXleakFh9iTAbaPpFZSjQ5HxiHeSXxhsYmZkaWRuaGFkbG5qQJK4nzHmy1 DhQSSE8sSc1OTS1ILYLZwsTBKdXAGNbUXieRpSQyo2KH1tmNItstFvvPcL6XxfeNteSl9w1b tfA7wXO2u571fvkhLaXi4ZOIJeft+zvOxOupCrx6Opf737O2r49mHX7fLCoX/OhLi6jdqvW/ 7YJrTiT/WaWw+HXv1CqtN/0SlnX7789NMA0P+Z++IN215ZL0jvxJ+7f3OuXpWkk8V2Ipzkg0 1GIuKk4EAF+NXpC5AgAA DLP-Filter: Pass X-MTR: 20000000000000000@CPGS 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.15 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.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, 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 Exynos drm driver cannot support DRIVER_HAVE_IRQ feature because it uses driver specific one instead of routine of drm framework to install/uninstall irq handler. Signed-off-by: Joonyoung Shim Reviewed-by: Daniel Kurtz --- Changelog from v1: - Keep below code drm_dev->irq_enabled = true; drivers/gpu/drm/exynos/exynos_drm_drv.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_drv.c b/drivers/gpu/drm/exynos/exynos_drm_drv.c index 2d27ba2..027e32d 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_drv.c +++ b/drivers/gpu/drm/exynos/exynos_drm_drv.c @@ -323,8 +323,7 @@ static const struct file_operations exynos_drm_driver_fops = { }; static struct drm_driver exynos_drm_driver = { - .driver_features = DRIVER_HAVE_IRQ | DRIVER_MODESET | - DRIVER_GEM | DRIVER_PRIME, + .driver_features = DRIVER_MODESET | DRIVER_GEM | DRIVER_PRIME, .load = exynos_drm_load, .unload = exynos_drm_unload, .suspend = exynos_drm_suspend,