From patchwork Wed Jan 25 06:26:49 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Vetter X-Patchwork-Id: 9536415 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 20DAB6042B for ; Wed, 25 Jan 2017 06:27:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1A15927D85 for ; Wed, 25 Jan 2017 06:27:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0EEBC27D9B; Wed, 25 Jan 2017 06:27:29 +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.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id A45D827D85 for ; Wed, 25 Jan 2017 06:27:28 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 03B426E937; Wed, 25 Jan 2017 06:27:17 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm0-x242.google.com (mail-wm0-x242.google.com [IPv6:2a00:1450:400c:c09::242]) by gabe.freedesktop.org (Postfix) with ESMTPS id C2BF06E92B for ; Wed, 25 Jan 2017 06:27:14 +0000 (UTC) Received: by mail-wm0-x242.google.com with SMTP id r126so40216196wmr.3 for ; Tue, 24 Jan 2017 22:27:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=8LVFtmETiOcmwexHrIE9/FFHn5c/+WbOtbPOyVmHUZU=; b=kTCJH6W0nd5F1yapQ4qXN3XhqACFdCZyA9aNfzuTyXFKQbwG/qxrp8y7tRqhStxNkd mrszIxD0OuRb8mmwx+PzvRcB+KovbagcN2zX5irsDt1lNdXxcBN1iH4ityFkzd0sFB+k QjnShIXU5bZAFVM921ivcOc6nGYKuhuuIbnmk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=8LVFtmETiOcmwexHrIE9/FFHn5c/+WbOtbPOyVmHUZU=; b=QghKsG92XSKng3LA2ghPtzL6nSS5dpq3m/VEkOp8+gB7ZtFCzazlKGcbN8VHMKlvnX f8syQmLfNn49rGoHDwGgt3949YEGdI/Jv4WhiY7/oURUxMAVU2niCbu05Z/7/11PUt7+ lfzoxXCwsaLw/fCKmxan7ATUc22dEuTQkB2S6lWquQghxyOeYlUOLRq5wDL1pgrPWmKw S10qpqri4AcTVGG3jewrGPTc5HuWq9K+8VbIqqkLg9iJkJNZcRzvju4P16/kkUSb7hBI gxDSWmEzwtYq+6NY7SwfuChCeAY/7M57CQxVG4fezVtD2qI7Z1kuQlwLvhZqPZYcR+kT hGjA== X-Gm-Message-State: AIkVDXJqU+8QO68tghJPSI13sqSRm6+mBmEuYdFFbEMXENm2vupoJrHWftTe5EMN29fIeQ== X-Received: by 10.223.163.75 with SMTP id d11mr31347640wrb.87.1485325633337; Tue, 24 Jan 2017 22:27:13 -0800 (PST) Received: from phenom.ffwll.local ([2a02:168:56c9:0:decc:6e78:7e96:b452]) by smtp.gmail.com with ESMTPSA id o42sm23252617wrb.18.2017.01.24.22.27.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Jan 2017 22:27:12 -0800 (PST) From: Daniel Vetter To: DRI Development Subject: [PATCH 07/15] drm/gma500: Nuke device_is_agp callback Date: Wed, 25 Jan 2017 07:26:49 +0100 Message-Id: <20170125062657.19270-8-daniel.vetter@ffwll.ch> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170125062657.19270-1-daniel.vetter@ffwll.ch> References: <20170125062657.19270-1-daniel.vetter@ffwll.ch> Cc: Daniel Vetter , Intel Graphics Development , Daniel Vetter 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-Virus-Scanned: ClamAV using ClamSMTP Returning 0 for an on-chip gpu doesn't change anything at all. Cc: Patrik Jakobsson Signed-off-by: Daniel Vetter Reviewed-by: Gustavo Padovan Acked-by: Patrik Jakobsson --- drivers/gpu/drm/gma500/psb_drv.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/drivers/gpu/drm/gma500/psb_drv.c b/drivers/gpu/drm/gma500/psb_drv.c index 0dc7ba2fdc22..5ee93ff55608 100644 --- a/drivers/gpu/drm/gma500/psb_drv.c +++ b/drivers/gpu/drm/gma500/psb_drv.c @@ -406,11 +406,6 @@ static int psb_driver_load(struct drm_device *dev, unsigned long flags) return ret; } -static int psb_driver_device_is_agp(struct drm_device *dev) -{ - return 0; -} - static inline void get_brightness(struct backlight_device *bd) { #ifdef CONFIG_BACKLIGHT_CLASS_DEVICE @@ -487,7 +482,6 @@ static struct drm_driver driver = { .set_busid = drm_pci_set_busid, .num_ioctls = ARRAY_SIZE(psb_ioctls), - .device_is_agp = psb_driver_device_is_agp, .irq_preinstall = psb_irq_preinstall, .irq_postinstall = psb_irq_postinstall, .irq_uninstall = psb_irq_uninstall,