From patchwork Tue Mar 11 10:30:04 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Daniel Vetter X-Patchwork-Id: 3810831 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 BAA789F38F for ; Tue, 11 Mar 2014 10:31:43 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D60A6202D1 for ; Tue, 11 Mar 2014 10:31:42 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id F15372022A for ; Tue, 11 Mar 2014 10:31:41 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E0F5CFA0FD; Tue, 11 Mar 2014 03:31:33 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-ee0-f53.google.com (mail-ee0-f53.google.com [74.125.83.53]) by gabe.freedesktop.org (Postfix) with ESMTP id EE553FAB7D for ; Tue, 11 Mar 2014 03:30:53 -0700 (PDT) Received: by mail-ee0-f53.google.com with SMTP id e51so3662501eek.12 for ; Tue, 11 Mar 2014 03:30:53 -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 :mime-version:content-type:content-transfer-encoding; bh=6ERblr+a6KNdyyS62XQlrbgsnjsA38TWAL7Ib4Auw5Q=; b=H0QYy0ATxoNFcy/Io7fyYcAiyLgMyG6k2OKn/ARu7XHefq9Ubixo0oOFoySBaS1dTq BwXsG2YXvSmD6sEF1p4AqxrkmdYv5ztPLIJcVSgVg1RBAR2fEN6o3z1vpwDyYuWLFboz PHPeTPw9IWoI9m7LnDQRRwCkNYw68EJFqeqOQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-type:content-transfer-encoding; bh=6ERblr+a6KNdyyS62XQlrbgsnjsA38TWAL7Ib4Auw5Q=; b=F18T6zxVGdisg/ALqTInFAvgxuhDCYnec8KqMIH8ukpP+Ext/2RHdHedMunsV/Zinu NBtuATmJ8UdY1JHu3MtKaERYaTSW19R4Q+Jc1AgNq7fFm21C278IK3DofST8RujFeqld mhLGQBDjtlesDM5/zZrtRdArQUZcuAVu3aohDsv34V/IfVntnK+0TCJhyfxLGFId3XGu zYH4zvT2tlJipfn9Gxqe0tHHMqdTmjcm99FkyNVbVTQELYdCMg6dpADV5HezUkDBR3XM jk8o4VMut7M9F61AceouzRUpKjXIUjFlxcW2P/+LODSF5GWWTBH1Nl7gMpsHP1KLc8Mx G09A== X-Gm-Message-State: ALoCoQmycDmRnjngHJeX8thH2jVC3l7jSbGAxwCpkbI0ZCFFJZVs4EmzZ6PvnvrGiOM/wKbmfeEy X-Received: by 10.15.22.201 with SMTP id f49mr28523801eeu.18.1394533853294; Tue, 11 Mar 2014 03:30:53 -0700 (PDT) Received: from phenom.ffwll.local (84-73-67-144.dclient.hispeed.ch. [84.73.67.144]) by mx.google.com with ESMTPSA id q44sm55958331eez.1.2014.03.11.03.30.52 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 11 Mar 2014 03:30:52 -0700 (PDT) From: Daniel Vetter To: DRI Development Subject: [PATCH 08/34] drm/doc: No more drm perf counters Date: Tue, 11 Mar 2014 11:30:04 +0100 Message-Id: <1394533830-30150-9-git-send-email-daniel.vetter@ffwll.ch> X-Mailer: git-send-email 1.8.5.2 In-Reply-To: <1394533830-30150-1-git-send-email-daniel.vetter@ffwll.ch> References: <1394533830-30150-1-git-send-email-daniel.vetter@ffwll.ch> MIME-Version: 1.0 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: , Sender: dri-devel-bounces@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, 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 Those all died with commit 0111be42186fc5461b9e9d579014c70869ab3152 Author: Ville Syrjälä Date: Fri Oct 4 14:53:41 2013 +0300 drm: Kill drm perf counter leftovers Signed-off-by: Daniel Vetter --- Documentation/DocBook/drm.tmpl | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/Documentation/DocBook/drm.tmpl b/Documentation/DocBook/drm.tmpl index 750ba8fb496a..26539ee3c63e 100644 --- a/Documentation/DocBook/drm.tmpl +++ b/Documentation/DocBook/drm.tmpl @@ -272,8 +272,8 @@ char *date; The load method is the driver and device initialization entry point. The method is responsible for allocating and - initializing driver private data, specifying supported performance - counters, performing resource allocation and mapping (e.g. acquiring + initializing driver private data, performing resource allocation and + mapping (e.g. acquiring clocks, mapping registers or allocating command buffers), initializing the memory manager (), installing the IRQ handler (), setting up @@ -303,7 +303,7 @@ char *date; their load method called with flags to 0. - Driver Private & Performance Counters + Driver Private Data The driver private hangs off the main drm_device structure and can be used for @@ -315,14 +315,6 @@ char *date; drm_device.dev_priv set to NULL when the driver is unloaded. - - DRM supports several counters which were used for rough performance - characterization. This stat counter system is deprecated and should not - be used. If performance monitoring is desired, the developer should - investigate and potentially enhance the kernel perf and tracing - infrastructure to export GPU related performance information for - consumption by performance monitoring tools and applications. - IRQ Registration