Re: [Intel-gfx] [PATCH igt 08/16] igt/gem_exec_schedule: Replace constant 16 with its magic macro

2018-02-20 Thread Chris Wilson
Quoting Joonas Lahtinen (2018-02-20 10:57:44) > Quoting Chris Wilson (2018-02-20 10:45:12) > > @@ -398,7 +399,7 @@ static void preempt(int fd, unsigned ring, unsigned > > flags) > > igt_assert(gem_bo_busy(fd, spin[0]->handle)); > > } > > > > - for (int n = 0; n <

Re: [Intel-gfx] [PATCH igt 08/16] igt/gem_exec_schedule: Replace constant 16 with its magic macro

2018-02-20 Thread Joonas Lahtinen
Quoting Chris Wilson (2018-02-20 10:45:12) > @@ -398,7 +399,7 @@ static void preempt(int fd, unsigned ring, unsigned flags) > igt_assert(gem_bo_busy(fd, spin[0]->handle)); > } > > - for (int n = 0; n < 16; n++) > + for (int n = 0; n < MAX_ELSP_QLEN; n++) >