Re: [Intel-gfx] [RFC] drm/i915: store all mmio bases in intel_engines

2018-03-12 Thread Daniele Ceraolo Spurio
On 12/03/18 10:48, Daniele Ceraolo Spurio wrote: On 12/03/18 04:04, Tvrtko Ursulin wrote: On 09/03/2018 19:44, Tvrtko Ursulin wrote: On 09/03/2018 18:47, Daniele Ceraolo Spurio wrote: On 09/03/18 01:53, Tvrtko Ursulin wrote: On 08/03/2018 18:46, Daniele Ceraolo Spurio wrote: On

Re: [Intel-gfx] [RFC] drm/i915: store all mmio bases in intel_engines

2018-03-12 Thread Daniele Ceraolo Spurio
On 12/03/18 04:04, Tvrtko Ursulin wrote: On 09/03/2018 19:44, Tvrtko Ursulin wrote: On 09/03/2018 18:47, Daniele Ceraolo Spurio wrote: On 09/03/18 01:53, Tvrtko Ursulin wrote: On 08/03/2018 18:46, Daniele Ceraolo Spurio wrote: On 08/03/18 01:31, Tvrtko Ursulin wrote: On 07/03/2018

Re: [Intel-gfx] [RFC] drm/i915: store all mmio bases in intel_engines

2018-03-12 Thread Tvrtko Ursulin
On 09/03/2018 19:44, Tvrtko Ursulin wrote: On 09/03/2018 18:47, Daniele Ceraolo Spurio wrote: On 09/03/18 01:53, Tvrtko Ursulin wrote: On 08/03/2018 18:46, Daniele Ceraolo Spurio wrote: On 08/03/18 01:31, Tvrtko Ursulin wrote: On 07/03/2018 19:45, Daniele Ceraolo Spurio wrote: The mmio

Re: [Intel-gfx] [RFC] drm/i915: store all mmio bases in intel_engines

2018-03-09 Thread Tvrtko Ursulin
On 09/03/2018 18:47, Daniele Ceraolo Spurio wrote: On 09/03/18 01:53, Tvrtko Ursulin wrote: On 08/03/2018 18:46, Daniele Ceraolo Spurio wrote: On 08/03/18 01:31, Tvrtko Ursulin wrote: On 07/03/2018 19:45, Daniele Ceraolo Spurio wrote: The mmio bases we're currently storing in the

Re: [Intel-gfx] [RFC] drm/i915: store all mmio bases in intel_engines

2018-03-09 Thread Daniele Ceraolo Spurio
On 09/03/18 01:53, Tvrtko Ursulin wrote: On 08/03/2018 18:46, Daniele Ceraolo Spurio wrote: On 08/03/18 01:31, Tvrtko Ursulin wrote: On 07/03/2018 19:45, Daniele Ceraolo Spurio wrote: The mmio bases we're currently storing in the intel_engines array are only valid for a subset of gens, so

Re: [Intel-gfx] [RFC] drm/i915: store all mmio bases in intel_engines

2018-03-09 Thread Tvrtko Ursulin
On 08/03/2018 18:46, Daniele Ceraolo Spurio wrote: On 08/03/18 01:31, Tvrtko Ursulin wrote: On 07/03/2018 19:45, Daniele Ceraolo Spurio wrote: The mmio bases we're currently storing in the intel_engines array are only valid for a subset of gens, so we need to ignore them and use different

Re: [Intel-gfx] [RFC] drm/i915: store all mmio bases in intel_engines

2018-03-08 Thread Daniele Ceraolo Spurio
On 08/03/18 01:31, Tvrtko Ursulin wrote: On 07/03/2018 19:45, Daniele Ceraolo Spurio wrote: The mmio bases we're currently storing in the intel_engines array are only valid for a subset of gens, so we need to ignore them and use different values in some cases. Instead of doing that, we can

Re: [Intel-gfx] [RFC] drm/i915: store all mmio bases in intel_engines

2018-03-08 Thread Tvrtko Ursulin
On 07/03/2018 19:45, Daniele Ceraolo Spurio wrote: The mmio bases we're currently storing in the intel_engines array are only valid for a subset of gens, so we need to ignore them and use different values in some cases. Instead of doing that, we can have a table of [starting gen, mmio base]

Re: [Intel-gfx] [RFC] drm/i915: store all mmio bases in intel_engines

2018-03-07 Thread Chris Wilson
Quoting Daniele Ceraolo Spurio (2018-03-07 19:45:15) > The mmio bases we're currently storing in the intel_engines array are > only valid for a subset of gens, so we need to ignore them and use > different values in some cases. Instead of doing that, we can have a > table of [starting gen, mmio

[Intel-gfx] [RFC] drm/i915: store all mmio bases in intel_engines

2018-03-07 Thread Daniele Ceraolo Spurio
The mmio bases we're currently storing in the intel_engines array are only valid for a subset of gens, so we need to ignore them and use different values in some cases. Instead of doing that, we can have a table of [starting gen, mmio base] pairs for each engine in intel_engines and select the