Re: [Intel-gfx] [REBASED PATCH RESEND 5/5 v3] drm/i915: debugfs spring cleaning

2016-08-22 Thread Chris Wilson
On Mon, Aug 22, 2016 at 01:59:31PM +0300, David Weinehall wrote: > Just like with sysfs, we do some major overhaul. > > Pass dev_priv instead of dev to all feature macros (IS_, HAS_, > INTEL_, etc.). This has the side effect that a bunch of functions > now get dev_priv passed instead of dev. > >

Re: [Intel-gfx] [REBASED PATCH RESEND 5/5 v3] drm/i915: debugfs spring cleaning

2016-08-22 Thread David Weinehall
Just like with sysfs, we do some major overhaul. Pass dev_priv instead of dev to all feature macros (IS_, HAS_, INTEL_, etc.). This has the side effect that a bunch of functions now get dev_priv passed instead of dev. All calls to INTEL_INFO()->gen have been replaced with INTEL_GEN(). We want ac