[igt-dev] [i-g-t] lib/gem_submission: Remove __gem_execbuf call

Zbigniew Kempczyński zbigniew.kempczynski at intel.com
Thu Apr 8 09:44:15 UTC 2021


On Thu, Apr 08, 2021 at 11:39:19AM +0200, Surendrakumar Upadhyay, TejaskumarX wrote:
> 
> > -----Original Message-----
> > From: Zbigniew Kempczyński <zbigniew.kempczynski at intel.com>
> > Sent: 08 April 2021 15:03
> > To: Surendrakumar Upadhyay, TejaskumarX
> > <tejaskumarx.surendrakumar.upadhyay at intel.com>
> > Cc: igt-dev at lists.freedesktop.org; Pandey, Hariom
> > <hariom.pandey at intel.com>
> > Subject: Re: [igt-dev] [i-g-t] lib/gem_submission: Remove __gem_execbuf call
> >
> > On Thu, Apr 08, 2021 at 12:22:31PM +0530, Tejas Upadhyay wrote:
> > > After reloc support got dropped on GEN12/12+, lot of tests are
> > > reporting failures which should be skipped using check
> > > gem_has_relocations(). The problem is lot of those failures are due to
> > > direct __gem_execbuf() call where we cant put gem_has_ relocations
> > > check to skip the test in case platform does not support reason being
> > > it also calls __gem_execbuf which creates never ending loop. Thus to
> > > avoid looping, call __gem_execbuf() inside gem_has_relocations() is
> > > replaced with direct ioctl call.
> >
> > We cannot do that. We have to fix tests, not to skip them.
> We are already skipping for gem_exec_reloc after checking reloc support.

Because as test name suggests it exercise the relocations.

--
Zbigniew


More information about the igt-dev mailing list