From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Vetter Subject: Re: [PATCH 22/25] drm: no-op out GET_STATS ioctl Date: Fri, 9 Aug 2013 11:05:35 +0200 Message-ID: <20130809090524.GA7441@phenom.ffwll.local> References: <1375969295-18929-1-git-send-email-daniel.vetter@ffwll.ch> <1375969295-18929-23-git-send-email-daniel.vetter@ffwll.ch> <87pptomb26.fsf@yvain.anholt.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-ea0-f182.google.com (mail-ea0-f182.google.com [209.85.215.182]) by gabe.freedesktop.org (Postfix) with ESMTP id 869E3E5BF8 for ; Fri, 9 Aug 2013 02:05:33 -0700 (PDT) Received: by mail-ea0-f182.google.com with SMTP id o10so1925459eaj.27 for ; Fri, 09 Aug 2013 02:05:32 -0700 (PDT) Content-Disposition: inline In-Reply-To: <87pptomb26.fsf@yvain.anholt.net> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: Eric Anholt Cc: Daniel Vetter , DRI Development List-Id: dri-devel@lists.freedesktop.org On Thu, Aug 08, 2013 at 05:55:45PM +0200, Eric Anholt wrote: > Daniel Vetter writes: > > > Again only used by a tests in libdrm and by dristat. Nowadays we have > > much better tracing tools to get detailed insights into what a drm > > driver is doing. And for a simple "does it work" kind of question that > > these stats could answer we have plenty of dmesg debug log spew. > > > > So I don't see any use for this stat gathering complexity at all. > > > > To be able to gradually drop things start with ripping out the > > interfaces to it, here the ioctl. > > > > To prevent dristat from eating its own stack garbage we can't use the > > drm_noop ioctl though, since we need to clear the return data with a > > memset. > > I'm happy to see these two die. Even back in the day we didn't use > them. > > This has been quite a trip down memory lane. > > Patch 9 typo: s/functinal/functional/ > Patch 25 typo: s/loose/lose/ Fixed. > Patches 2, 6-11, 19, 21, 22, 24, 25 are: > > Reviewed-by: Eric Anholt Thanks for the review. I've pushed a fixed branch with r-b tags to http://cgit.freedesktop.org/~danvet/drm/log/?h=drm-cleanups Cheers, Daniel -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch