From: Damien Lespiau Subject: Re: [PATCH 6/6] drm/i915: Move pipecrc debug functions to new file Date: Tue, 21 Jan 2014 21:44:51 +0000 Message-ID: <20140121214451.GE4026@strange.amr.corp.intel.com> References: <1389708847-25038-1-git-send-email-benjamin.widawsky@intel.com> <1390336402-2049-1-git-send-email-benjamin.widawsky@intel.com> <1390336402-2049-6-git-send-email-benjamin.widawsky@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by gabe.freedesktop.org (Postfix) with ESMTP id DC899FA86C for ; Tue, 21 Jan 2014 13:44:53 -0800 (PST) Content-Disposition: inline In-Reply-To: <1390336402-2049-6-git-send-email-benjamin.widawsky@intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces@lists.freedesktop.org Errors-To: intel-gfx-bounces@lists.freedesktop.org To: Ben Widawsky Cc: Intel GFX , Ben Widawsky List-Id: intel-gfx@lists.freedesktop.org On Tue, Jan 21, 2014 at 12:33:22PM -0800, Ben Widawsky wrote: > --- a/drivers/gpu/drm/i915/i915_drv.h > +++ b/drivers/gpu/drm/i915/i915_drv.h > @@ -1356,6 +1356,18 @@ struct intel_pipe_crc { > wait_queue_head_t wq; > }; > > +struct pipe_crc_info { > + const char *name; > + struct drm_device *dev; > + enum pipe pipe; > +}; > + > +extern struct pipe_crc_info i915_pipe_crc_data[I915_MAX_PIPES]; > +extern const struct file_operations i915_display_crc_ctl_fops; > + > +int i915_pipe_crc_create(struct dentry *root, struct drm_minor *minor, > + enum pipe pipe); > + > typedef struct drm_i915_private { > struct drm_device *dev; > struct kmem_cache *slab; Oops, I think I should have looked at that hunk before, hidden in that big diff it wasn't obvious. We try to put display related things into intel_drv.h, it was in i915_drv.h because it was in debugfs.c. Also intel_drv.h and i915_drv.h are neatly separated by file, so it'd be nice to have a separate entry for intel_display_test.c. Bikeshedding territory, I know, sorry. With that changed or not you have my: Reviewed-by: Damien Lespiau Who knows Daniel may not insist on this particular OCD. -- Damien