Re: [Intel-gfx] [RFC] drm/i915: Eliminate devid sprinkle

2018-02-22 Thread Tvrtko Ursulin
On 22/02/2018 08:24, Chris Wilson wrote: Quoting Tvrtko Ursulin (2018-02-22 08:09:07) diff --git a/drivers/gpu/drm/i915/intel_device_info.h b/drivers/gpu/drm/i915/intel_device_info.h index 71fdfb0451ef..7b6211061fba 100644 --- a/drivers/gpu/drm/i915/intel_device_info.h +++ b/drivers/gpu/drm/i

Re: [Intel-gfx] [RFC] drm/i915: Eliminate devid sprinkle

2018-02-22 Thread Chris Wilson
Quoting Tvrtko Ursulin (2018-02-22 08:09:07) > From: Tvrtko Ursulin > > Introduce subplatform mask to eliminate throughout the code devid checking > sprinkle, mostly courtesy of IS_*_UL[TX] macros. > > Subplatform mask initialization is moved either to static tables (Ironlake > M) or runtime dev

[Intel-gfx] [RFC] drm/i915: Eliminate devid sprinkle

2018-02-22 Thread Tvrtko Ursulin
From: Tvrtko Ursulin Introduce subplatform mask to eliminate throughout the code devid checking sprinkle, mostly courtesy of IS_*_UL[TX] macros. Subplatform mask initialization is moved either to static tables (Ironlake M) or runtime device info init (Pineview, Haswell, Broadwell, Skylake, Kabyl