Re: [Intel-gfx] [PATCH i-g-t] igt_kms: Dynamically allocate igt_display->pipes

2016-12-13 Thread Lyude Paul
Pushed, thanks On Tue, 2016-12-13 at 07:20 +0200, Abdiel Janulgue wrote: > > On 12.12.2016 22:50, Lyude wrote: > > Many GPUs have more then 3 pipes available, so hard limiting this > > to > > I915_MAX_PIPES prevents us from using anything that relies on > > igt_display_init() on non-intel

Re: [Intel-gfx] [PATCH i-g-t] igt_kms: Dynamically allocate igt_display->pipes

2016-12-12 Thread Abdiel Janulgue
On 12.12.2016 22:50, Lyude wrote: > Many GPUs have more then 3 pipes available, so hard limiting this to > I915_MAX_PIPES prevents us from using anything that relies on > igt_display_init() on non-intel systems (since we end up writing out of > bounds and seg faulting). Fix this by dynamically

[Intel-gfx] [PATCH i-g-t] igt_kms: Dynamically allocate igt_display->pipes

2016-12-12 Thread Lyude
Many GPUs have more then 3 pipes available, so hard limiting this to I915_MAX_PIPES prevents us from using anything that relies on igt_display_init() on non-intel systems (since we end up writing out of bounds and seg faulting). Fix this by dynamically allocating igt_display->pipes using the