From: Jerome Glisse Subject: Re: Convert DRM_INFO/DRM_ERROR to dev_info/dev_err Date: Mon, 1 Mar 2010 12:46:29 +0100 Message-ID: <20100301114629.GB2027@barney.localdomain> References: <20100225185649.GA1981@barney.localdomain> <21d7e9971002282147g3c5d1e96g4e65cbf7aefd3d58@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <21d7e9971002282147g3c5d1e96g4e65cbf7aefd3d58@mail.gmail.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.sourceforge.net To: Dave Airlie Cc: dri-devel@lists.sf.net List-Id: dri-devel@lists.freedesktop.org On Mon, Mar 01, 2010 at 03:47:35PM +1000, Dave Airlie wrote: > On Fri, Feb 26, 2010 at 4:56 AM, Jerome Glisse wrote: > > Attached is conversion from DRM_INFO/DRM_ERROR to dev_info/dev_err > > to apply it copy all doconv* file into the radeon subfolder of the > > kernel run ./doconv.sh and then apply the 0001 patch which fix > > compilation after conversion (place where struct radeon_device is > > missing) then thing should compile > > > > I think it's worthwhile cleanup especialy on multi GPU configuration. > > Does this not remove the drm log levels? > > so we end up with everything in dmesg the whole time? > > that seems wrong, I'd rather pass a dev to DRM_ERROR/DRM_INFO > or maybe defined DRM_DEV_ERROR, DRM_DEV_INFO. > > Dave. > This doesn't touch DRM_DEBUG so log level is unaffected. But if you prefer havimg DRM_DEV* i could convert radeon to that. Cheers, Jerome ------------------------------------------------------------------------------ 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 --