dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH topic/core-for-CI] drm/i915/dg2: Add relocation exception
@ 2022-02-18 22:38 Lucas De Marchi
  2022-02-19  0:02 ` [Intel-gfx] " Dixit, Ashutosh
  2022-02-21  5:42 ` Lucas De Marchi
  0 siblings, 2 replies; 3+ messages in thread
From: Lucas De Marchi @ 2022-02-18 22:38 UTC (permalink / raw)
  To: intel-gfx, dri-devel
  Cc: bob.beckett, Rodrigo Vivi, Lucas De Marchi, Zbigniew Kempczynski,
	Jason Ekstrand, Daniel Vetter, Dave Airlie

The move to softpin in igt is ongoing and should land soon.
Meanwhile, like was done for ADL and RKL, add an exception to allow
running the igt display tests before that conversion is complete
so we can unblock CI.

Cc: Zbigniew Kempczynski <zbigniew.kempczynski@intel.com>
Cc: Dave Airlie <airlied@redhat.com>
Cc: Daniel Vetter <daniel.vetter@intel.com>
Cc: Jason Ekstrand <jason@jlekstrand.net>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
---
 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c b/drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
index f8f07d0bd83b..85f4808957b9 100644
--- a/drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
+++ b/drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
@@ -504,7 +504,7 @@ static bool platform_has_relocs_enabled(const struct i915_execbuffer *eb)
 	 */
 	if (GRAPHICS_VER(eb->i915) < 12 || IS_TIGERLAKE(eb->i915) ||
 	    IS_ROCKETLAKE(eb->i915) || IS_ALDERLAKE_S(eb->i915) ||
-	    IS_ALDERLAKE_P(eb->i915))
+	    IS_ALDERLAKE_P(eb->i915) || IS_DG2(eb->i915))
 		return true;
 
 	return false;
-- 
2.35.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [Intel-gfx] [PATCH topic/core-for-CI] drm/i915/dg2: Add relocation exception
  2022-02-18 22:38 [PATCH topic/core-for-CI] drm/i915/dg2: Add relocation exception Lucas De Marchi
@ 2022-02-19  0:02 ` Dixit, Ashutosh
  2022-02-21  5:42 ` Lucas De Marchi
  1 sibling, 0 replies; 3+ messages in thread
From: Dixit, Ashutosh @ 2022-02-19  0:02 UTC (permalink / raw)
  To: Lucas De Marchi; +Cc: intel-gfx, Zbigniew Kempczynski, dri-devel

On Fri, 18 Feb 2022 14:38:53 -0800, Lucas De Marchi wrote:
>
> The move to softpin in igt is ongoing and should land soon.
> Meanwhile, like was done for ADL and RKL, add an exception to allow
> running the igt display tests before that conversion is complete
> so we can unblock CI.

One example failure we see on DG2 if we don't do this (reported by Lucas):

IGT-Version: 1.26-g9cb64a75 (x86_64) (Linux: 5.17.0-rc4-demarchi+ x86_64)
(testdisplay:10068) ioctl_wrappers-CRITICAL: Test assertion failure function gem_execbuf, file ../lib/ioctl_wrappers.c:674:
(testdisplay:10068) ioctl_wrappers-CRITICAL: Failed assertion: __gem_execbuf(fd, execbuf) == 0
(testdisplay:10068) ioctl_wrappers-CRITICAL: error: -22 != 0
Stack trace:
#0 ../lib/igt_core.c:1754 __igt_fail_assert()
#1 [gem_execbuf+0x48]
#2 ../lib/intel_batchbuffer.c:1053 igt_blitter_fast_copy__raw()
#3 ../lib/igt_fb.c:2497 blitcopy()
#4 ../lib/igt_fb.c:2646 setup_linear_mapping()
#5 ../lib/igt_fb.c:2671 create_cairo_surface__gpu()
#6 ../lib/igt_fb.c:3959 igt_get_cairo_surface()
#7 ../lib/igt_fb.c:3987 igt_get_cairo_ctx()
#8 ../lib/igt_fb.c:1980 igt_create_pattern_fb()
#9 ../tests/testdisplay.c:271 set_mode()
#10 ../tests/testdisplay.c:511 update_display()
#11 ../tests/testdisplay.c:763 main()
#12 ../csu/libc-start.c:342 __libc_start_main()
#13 [_start+0x2e]
Test testdisplay failed

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Intel-gfx] [PATCH topic/core-for-CI] drm/i915/dg2: Add relocation exception
  2022-02-18 22:38 [PATCH topic/core-for-CI] drm/i915/dg2: Add relocation exception Lucas De Marchi
  2022-02-19  0:02 ` [Intel-gfx] " Dixit, Ashutosh
@ 2022-02-21  5:42 ` Lucas De Marchi
  1 sibling, 0 replies; 3+ messages in thread
From: Lucas De Marchi @ 2022-02-21  5:42 UTC (permalink / raw)
  To: intel-gfx, dri-devel; +Cc: Daniel Vetter, Dave Airlie, Rodrigo Vivi

On Fri, Feb 18, 2022 at 02:38:53PM -0800, Lucas De Marchi wrote:
>The move to softpin in igt is ongoing and should land soon.
>Meanwhile, like was done for ADL and RKL, add an exception to allow
>running the igt display tests before that conversion is complete
>so we can unblock CI.
>
>Cc: Zbigniew Kempczynski <zbigniew.kempczynski@intel.com>
>Cc: Dave Airlie <airlied@redhat.com>
>Cc: Daniel Vetter <daniel.vetter@intel.com>
>Cc: Jason Ekstrand <jason@jlekstrand.net>
>Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
>Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>

Patch pushed to topic/core-for-CI branch with ack from Dave.

thanks
Lucas De Marchi

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-02-21  5:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-18 22:38 [PATCH topic/core-for-CI] drm/i915/dg2: Add relocation exception Lucas De Marchi
2022-02-19  0:02 ` [Intel-gfx] " Dixit, Ashutosh
2022-02-21  5:42 ` Lucas De Marchi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox