Re: [Intel-gfx] [PATCH 2/2] drm/i915: Agnostic INTEL_INFO

2014-08-11 Thread Jani Nikula
On Sat, 09 Aug 2014, Chris Wilson ch...@chris-wilson.co.uk wrote: Adapt the macro so that we can pass either the struct drm_device or the struct drm_i915_private pointers and get the answer we want. Over time, my plan is to convert all users over to using drm_i915_private and so trimming down

Re: [Intel-gfx] [PATCH 2/2] drm/i915: Agnostic INTEL_INFO

2014-08-11 Thread Chris Wilson
On Mon, Aug 11, 2014 at 01:14:50PM +0300, Jani Nikula wrote: On Sat, 09 Aug 2014, Chris Wilson ch...@chris-wilson.co.uk wrote: Adapt the macro so that we can pass either the struct drm_device or the struct drm_i915_private pointers and get the answer we want. Over time, my plan is to

Re: [Intel-gfx] [PATCH 2/2] drm/i915: Agnostic INTEL_INFO

2014-08-11 Thread Daniel Vetter
On Mon, Aug 11, 2014 at 11:26:07AM +0100, Chris Wilson wrote: On Mon, Aug 11, 2014 at 01:14:50PM +0300, Jani Nikula wrote: On Sat, 09 Aug 2014, Chris Wilson ch...@chris-wilson.co.uk wrote: Adapt the macro so that we can pass either the struct drm_device or the struct drm_i915_private

Re: [Intel-gfx] [PATCH 2/2] drm/i915: Agnostic INTEL_INFO

2014-08-11 Thread Chris Wilson
On Mon, Aug 11, 2014 at 01:25:49PM +0200, Daniel Vetter wrote: On Mon, Aug 11, 2014 at 11:26:07AM +0100, Chris Wilson wrote: On Mon, Aug 11, 2014 at 01:14:50PM +0300, Jani Nikula wrote: On Sat, 09 Aug 2014, Chris Wilson ch...@chris-wilson.co.uk wrote: Adapt the macro so that we can pass

[Intel-gfx] [PATCH 2/2] drm/i915: Agnostic INTEL_INFO

2014-08-09 Thread Chris Wilson
Adapt the macro so that we can pass either the struct drm_device or the struct drm_i915_private pointers and get the answer we want. Over time, my plan is to convert all users over to using drm_i915_private and so trimming down the pointer dance. Having spent a few hours chasing that goal and