From patchwork Thu Aug 8 13:41:12 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Vetter X-Patchwork-Id: 2841096 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id B64619F271 for ; Thu, 8 Aug 2013 13:47:56 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8543620416 for ; Thu, 8 Aug 2013 13:47:55 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id B311720411 for ; Thu, 8 Aug 2013 13:47:53 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 86A30E6EC6 for ; Thu, 8 Aug 2013 06:47:53 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-ee0-f47.google.com (mail-ee0-f47.google.com [74.125.83.47]) by gabe.freedesktop.org (Postfix) with ESMTP id 17CC8E67F8 for ; Thu, 8 Aug 2013 06:41:35 -0700 (PDT) Received: by mail-ee0-f47.google.com with SMTP id d49so1518495eek.34 for ; Thu, 08 Aug 2013 06:41:35 -0700 (PDT) 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=2UKcSdJl8h3Z99BxUV8OmvxkZc/Z4ODo5xGecuphmmo=; b=WkXUpw290gTsvPym/VebUCdpt6/bDx/aPx1bVnOsJD64ECoee+/cmgCLbTORtwN1Oe +GK4XXme+xerlCgntubH3laz+h4/XCZlbx5sFEarI/BDVlMJoWYaML0m8upyQ0UBvL5v gOlMnBS5Jr5aM22d019BP8oFO14CaBr6f3hd4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=2UKcSdJl8h3Z99BxUV8OmvxkZc/Z4ODo5xGecuphmmo=; b=LuzcjROjoa+I3pIfmg0yvMuNMd4l6od1o3MUyidySrZv3IkqZ83sWLw4DXwcuzL7aW ySOP161Ydp55CXJZq591WsOrXYO67M+K8XI2N9PmvmKR+BXq5g9YNjKERiEzNx861iML 6OUDons1X2F2sfgnJo+909p6UkIue07Q5fWLqRzeNFz6NxQgRSUzVx0vGvUqz4nRh6wY srVLLJ+PhqzTqphnOutuLOxG+zKbguAuRUzzs3J8JnXmwfA/ba1hg+Q4LxBTwiKVYFHP 8j4uMedFOgJfY77t7nidgI8MEXgGwJ1xbT59rHwH+Cf3/3jmcEuAXOEW5aNwyrgE4nc8 Dmkw== X-Gm-Message-State: ALoCoQkfuK+VVhjkneb9kU4uD5zU3gsWG8UWV5IvUKLTnWEUzF5NyfjYZeeaJWrQ7FVm/Drj+ZLs X-Received: by 10.14.251.10 with SMTP id a10mr8343771ees.76.1375969295244; Thu, 08 Aug 2013 06:41:35 -0700 (PDT) Received: from phenom.ffwll.local (178-83-130-250.dynamic.hispeed.ch. [178.83.130.250]) by mx.google.com with ESMTPSA id bn13sm19282226eeb.11.2013.08.08.06.41.33 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 08 Aug 2013 06:41:34 -0700 (PDT) From: Daniel Vetter To: DRI Development Subject: [PATCH 02/25] drm/radeon: kill firstopen callback for kms driver Date: Thu, 8 Aug 2013 15:41:12 +0200 Message-Id: <1375969295-18929-3-git-send-email-daniel.vetter@ffwll.ch> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1375969295-18929-1-git-send-email-daniel.vetter@ffwll.ch> References: <1375969295-18929-1-git-send-email-daniel.vetter@ffwll.ch> Cc: Daniel Vetter 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 X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,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 Again, it does nothing. Signed-off-by: Daniel Vetter --- drivers/gpu/drm/radeon/radeon_drv.c | 2 -- drivers/gpu/drm/radeon/radeon_kms.c | 13 ------------- 2 files changed, 15 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon_drv.c b/drivers/gpu/drm/radeon/radeon_drv.c index fa7a7e1..3585f22 100644 --- a/drivers/gpu/drm/radeon/radeon_drv.c +++ b/drivers/gpu/drm/radeon/radeon_drv.c @@ -81,7 +81,6 @@ #define KMS_DRIVER_PATCHLEVEL 0 int radeon_driver_load_kms(struct drm_device *dev, unsigned long flags); int radeon_driver_unload_kms(struct drm_device *dev); -int radeon_driver_firstopen_kms(struct drm_device *dev); void radeon_driver_lastclose_kms(struct drm_device *dev); int radeon_driver_open_kms(struct drm_device *dev, struct drm_file *file_priv); void radeon_driver_postclose_kms(struct drm_device *dev, @@ -390,7 +389,6 @@ static struct drm_driver kms_driver = { DRIVER_PRIME, .dev_priv_size = 0, .load = radeon_driver_load_kms, - .firstopen = radeon_driver_firstopen_kms, .open = radeon_driver_open_kms, .preclose = radeon_driver_preclose_kms, .postclose = radeon_driver_postclose_kms, diff --git a/drivers/gpu/drm/radeon/radeon_kms.c b/drivers/gpu/drm/radeon/radeon_kms.c index 866c2b7..b46a561 100644 --- a/drivers/gpu/drm/radeon/radeon_kms.c +++ b/drivers/gpu/drm/radeon/radeon_kms.c @@ -449,19 +449,6 @@ int radeon_info_ioctl(struct drm_device *dev, void *data, struct drm_file *filp) * Outdated mess for old drm with Xorg being in charge (void function now). */ /** - * radeon_driver_firstopen_kms - drm callback for first open - * - * @dev: drm dev pointer - * - * Nothing to be done for KMS (all asics). - * Returns 0 on success. - */ -int radeon_driver_firstopen_kms(struct drm_device *dev) -{ - return 0; -} - -/** * radeon_driver_firstopen_kms - drm callback for last close * * @dev: drm dev pointer