From: Daniel Vetter Subject: Re: [PATCH 00/14] cleanup radeon_asic.h Date: Thu, 11 Mar 2010 17:05:25 +0100 Message-ID: <20100311160525.GB3446@viiv.ffwll.ch> References: <1268312776-32615-1-git-send-email-daniel.vetter@ffwll.ch> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.sourceforge.net To: Alex Deucher Cc: Daniel Vetter , dri-devel@lists.sourceforge.net List-Id: dri-devel@lists.freedesktop.org On Thu, Mar 11, 2010 at 10:54:09AM -0500, Alex Deucher wrote: > I like keeping all the asic definitions in one file as you tend to > need to update them all at one time and having them spread across all > the asic files increases the likelihood of one or more of them getting > missed. But I can live with it if other folks think it's a good idea. > > Alex I've also thought about putting all asic structs into one file but decided against it for two reasons: - putting the asics into the asic specific files allows us to mark asic-private functions as static. This makes code-reading easier. Of course, as someone who has just started to look at the radeon drm, I'm biased ;) - there was no .c file around where they'd fit. Creating a new radeon_asic.c file would be another option of course. If you think that's much better, I could respin the series. Daniel -- Daniel Vetter Mail: daniel@ffwll.ch Mobile: +41 (0)79 365 57 48 ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev --