[igt-dev] [i-g-t] test/i915/gem_exec_reloc: Drop reloc support for gen12+
Surendrakumar Upadhyay, TejaskumarX
tejaskumarx.surendrakumar.upadhyay at intel.com
Mon Mar 15 11:48:06 UTC 2021
> -----Original Message-----
> From: Kempczynski, Zbigniew <zbigniew.kempczynski at intel.com>
> Sent: 15 March 2021 17:06
> 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] test/i915/gem_exec_reloc: Drop reloc support for
> gen12+
>
> On Mon, Mar 15, 2021 at 04:32:18PM +0530, Tejas Upadhyay wrote:
> > i915 kernel driver is dropping reloc support gen12+. This change will
> > drop reloc support in gem_exec_reloc in IGT.
> >
> > Ref :
> > https://patchwork.kernel.org/project/dri-devel/patch/20210311162606.10
> > 45592-1-jason at jlekstrand.net/
> >
> > Cc: Maarten Lankhorst<maarten.lankhorst at intel.com>
> > Signed-off-by: Tejas Upadhyay
> > <tejaskumarx.surendrakumar.upadhyay at intel.com>
> > ---
> > tests/i915/gem_exec_reloc.c | 2 ++
> > 1 file changed, 2 insertions(+)
> >
> > diff --git a/tests/i915/gem_exec_reloc.c b/tests/i915/gem_exec_reloc.c
> > index 8d52960b..4c24f178 100644
> > --- a/tests/i915/gem_exec_reloc.c
> > +++ b/tests/i915/gem_exec_reloc.c
> > @@ -1478,6 +1478,8 @@ igt_main
> > igt_fixture {
> > fd = drm_open_driver_master(DRIVER_INTEL);
> > igt_require_gem(fd);
> > + /* Don't use relocations on gen12+ */
> > + igt_require(intel_gen(intel_get_drm_devid(fd)) < 12);
> > }
> >
> > for (f = flags; f->name; f++) {
> > --
> > 2.30.0
> >
> > _______________________________________________
> > igt-dev mailing list
> > igt-dev at lists.freedesktop.org
> > https://lists.freedesktop.org/mailman/listinfo/igt-dev
>
> We got patch which does relocation check, it is part of allocator series but it
> is going to be merged standalone:
>
> https://patchwork.freedesktop.org/patch/423361/?series=82954&rev=25
>
> Please watch out current master branch.
Thanks for reply and I got it. I will watchout master branch and as soon as it arrives I will sendout V2 with respective relocation check.
Thanks,
Tejas
>
> --
> Zbigniew
More information about the igt-dev
mailing list