From: Damien Lespiau Subject: Re: [PATCH 6/6] drm/i915: Move pipecrc debug functions to new file Date: Tue, 21 Jan 2014 21:50:30 +0000 Message-ID: <20140121215030.GF4026@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> <20140121214451.GE4026@strange.amr.corp.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 B9C3AFAF46 for ; Tue, 21 Jan 2014 13:50:32 -0800 (PST) Content-Disposition: inline In-Reply-To: <20140121214451.GE4026@strange.amr.corp.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 09:44:51PM +0000, Damien Lespiau wrote: > 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. Also, there's another chunk in i915_drv.h you may want to move to intel_drv.h if you decide the OCD is justifed: #ifdef CONFIG_DEBUG_FS void intel_display_crc_init(struct drm_device *dev); #else static inline void intel_display_crc_init(struct drm_device *dev) {} #endif -- Damien