Re: [Intel-gfx] [PATCH] drm/i915/gt: Do not add same i915_request to intel_context twice

2021-12-14 Thread Tvrtko Ursulin
On 14/12/2021 05:58, Yang, Dong wrote: Thanks Tvrtko, I will try the patch you mentioned. BTW, how do you think we use this patch in our project, any side-effect it may have? If no side-effect we can take it as WA for temporally fix till we got the final root fixed. For side effects I can

Re: [Intel-gfx] [PATCH] drm/i915/gt: Do not add same i915_request to intel_context twice

2021-12-13 Thread Yang, Dong
Sent: Monday, December 13, 2021 5:37 PM To: Yang, Dong ; intel-gfx@lists.freedesktop.org Subject: Re: [Intel-gfx] [PATCH] drm/i915/gt: Do not add same i915_request to intel_context twice On 13/12/2021 01:53, Yang, Dong wrote: > I am working on a customized kernel based on 5.4.39, issue can o

Re: [Intel-gfx] [PATCH] drm/i915/gt: Do not add same i915_request to intel_context twice

2021-12-13 Thread Tvrtko Ursulin
ut it looks unlikely it is simple double add due parallel enablement. Regards, Tvrtko Thanks, Dong -Original Message- From: Tvrtko Ursulin Sent: Friday, December 10, 2021 4:51 PM To: Yang, Dong ; intel-gfx@lists.freedesktop.org Subject: Re: [Intel-gfx] [PATCH] drm/i915/gt: Do not add

Re: [Intel-gfx] [PATCH] drm/i915/gt: Do not add same i915_request to intel_context twice

2021-12-12 Thread Yang, Dong
p.org Subject: Re: [Intel-gfx] [PATCH] drm/i915/gt: Do not add same i915_request to intel_context twice On 10/12/2021 01:31, dong.y...@intel.com wrote: > From: "Yang, Dong" > > With unknow race condition, the i915_request will be added What do you mean with unknown here? > to

Re: [Intel-gfx] [PATCH] drm/i915/gt: Do not add same i915_request to intel_context twice

2021-12-10 Thread Tvrtko Ursulin
On 10/12/2021 01:31, dong.y...@intel.com wrote: From: "Yang, Dong" With unknow race condition, the i915_request will be added What do you mean with unknown here? to intel_context list twice, and result in system panic. If node alreay exist then do not add it again. Note the call chains

[Intel-gfx] [PATCH] drm/i915/gt: Do not add same i915_request to intel_context twice

2021-12-09 Thread dong . yang
From: "Yang, Dong" With unknow race condition, the i915_request will be added to intel_context list twice, and result in system panic. If node alreay exist then do not add it again. Signed-off-by: Yang, Dong --- drivers/gpu/drm/i915/gt/intel_breadcrumbs.c | 3 +++ 1 file changed, 3 insertions