[Intel-gfx] [PATCH] drm/i915/selftests: Exercise rc6 handling

2019-11-14 Thread Chris Wilson
Reading from CTX_INFO upsets rc6, requiring us to detect and prevent possible rc6 context corruption. Poke at the bear! Signed-off-by: Chris Wilson Cc: Imre Deak Cc: Mika Kuoppala --- drivers/gpu/drm/i915/gt/intel_rc6.c | 4 + drivers/gpu/drm/i915/gt/selftest_gt_pm.c | 13 ++

[Intel-gfx] [PATCH] drm/i915/selftests: Exercise rc6 handling

2019-11-14 Thread Chris Wilson
Reading from CTX_INFO upsets rc6, requiring us to detect and prevent possible rc6 context corruption. Poke at the bear! Signed-off-by: Chris Wilson Cc: Imre Deak Cc: Mika Kuoppala --- drivers/gpu/drm/i915/gt/intel_rc6.c | 4 + drivers/gpu/drm/i915/gt/selftest_gt_pm.c | 13 ++

Re: [Intel-gfx] [PATCH] drm/i915/selftests: Exercise rc6 handling

2019-11-14 Thread Chris Wilson
Quoting Chris Wilson (2019-11-14 08:54:43) > +static struct intel_engine_cs ** > +randomised_engines(struct intel_gt *gt, > + struct rnd_state *prng, > + unsigned int *count) > +{ > + struct intel_engine_cs *engine, **engines; > + enum intel_engine_id i

[Intel-gfx] [PATCH] drm/i915/selftests: Exercise rc6 handling

2019-11-14 Thread Chris Wilson
Reading from CTX_INFO upsets rc6, requiring us to detect and prevent possible rc6 context corruption. Poke at the bear! Signed-off-by: Chris Wilson Cc: Imre Deak Cc: Mika Kuoppala --- drivers/gpu/drm/i915/gt/intel_rc6.c | 4 + drivers/gpu/drm/i915/gt/selftest_gt_pm.c | 13 ++

Re: [Intel-gfx] [PATCH] drm/i915/selftests: Exercise rc6 handling

2019-11-14 Thread Chris Wilson
Quoting Chris Wilson (2019-11-14 08:34:36) > Reading from CTX_INFO upsets rc6, requiring us to detect and prevent > possible rc6 context corruption. Poke at the bear! > > Signed-off-by: Chris Wilson > Cc: Imre Deak > Cc: Mika Kuoppala > --- > drivers/gpu/drm/i915/gt/intel_rc6.c | 4

[Intel-gfx] [PATCH] drm/i915/selftests: Exercise rc6 handling

2019-11-14 Thread Chris Wilson
Reading from CTX_INFO upsets rc6, requiring us to detect and prevent possible rc6 context corruption. Poke at the bear! Signed-off-by: Chris Wilson Cc: Imre Deak Cc: Mika Kuoppala --- drivers/gpu/drm/i915/gt/intel_rc6.c | 4 + drivers/gpu/drm/i915/gt/selftest_gt_pm.c | 13 +++