Re: [Intel-gfx] [PATCH] drm/i915/selftests: Check that registers are preserved between virtual engines

2019-10-10 Thread Chris Wilson
Quoting Tvrtko Ursulin (2019-10-10 13:31:04) > > On 10/10/2019 12:02, Chris Wilson wrote: > > Make sure that we copy across the registers from one engine to the next, > > as we hop around a virtual engine. > > > > Signed-off-by: Chris Wilson > > Cc: Tvrtko Ursulin > > --- > > Skip the test on g

Re: [Intel-gfx] [PATCH] drm/i915/selftests: Check that registers are preserved between virtual engines

2019-10-10 Thread Tvrtko Ursulin
On 10/10/2019 12:02, Chris Wilson wrote: Make sure that we copy across the registers from one engine to the next, as we hop around a virtual engine. Signed-off-by: Chris Wilson Cc: Tvrtko Ursulin --- Skip the test on gen8 as the context image is devoid of CS_GPR. --- drivers/gpu/drm/i915/gt

[Intel-gfx] [PATCH] drm/i915/selftests: Check that registers are preserved between virtual engines

2019-10-10 Thread Chris Wilson
Make sure that we copy across the registers from one engine to the next, as we hop around a virtual engine. Signed-off-by: Chris Wilson Cc: Tvrtko Ursulin --- Skip the test on gen8 as the context image is devoid of CS_GPR. --- drivers/gpu/drm/i915/gt/selftest_lrc.c | 180 +++

Re: [Intel-gfx] [PATCH] drm/i915/selftests: Check that registers are preserved between virtual engines

2019-10-10 Thread Chris Wilson
Quoting Chris Wilson (2019-10-10 11:36:57) > Make sure that we copy across the registers from one engine to the next, > as we hop around a virtual engine. Looking at Broadwell's HW context image, there are no GPR registers for xcs. Weird. -Chris ___ Inte

[Intel-gfx] [PATCH] drm/i915/selftests: Check that registers are preserved between virtual engines

2019-10-10 Thread Chris Wilson
Make sure that we copy across the registers from one engine to the next, as we hop around a virtual engine. Signed-off-by: Chris Wilson Cc: Tvrtko Ursulin --- drivers/gpu/drm/i915/gt/selftest_lrc.c | 176 + 1 file changed, 176 insertions(+) diff --git a/drivers/gpu/drm/