lkml.org 
[lkml]   [2018]   [Jan]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: PROBLEM: i915 causes complete desktop freezes in 4.15-rc5
Thank you!

I'll apply that more elaborate patch you sent in the longer message to
my clone of the repo and see if it still freezes.

On Sat, Jan 06, 2018 at 10:43:20AM +0000, Chris Wilson wrote:
> Quoting Alexandru Chirvasitu (2018-01-05 22:05:18)
> > Here we go.
> >
> > I have
> >
> > CONFIG_PAGE_POISONING not set
> > CONFIG_SLUB_STATS=y
> > CONFIG_SLUB_DEBUG not set
> > CONFIG_KASAN=y
> >
> > .config attached along as well for verification, in case I missed
> > anything.
> >
> > Again crashed by an attempt to open a terminal window.
>
> Gotcha,
>
> diff --git a/drivers/gpu/drm/i915/i915_gem.c b/drivers/gpu/drm/i915/i915_gem.c
> index b21322b50419..96cf46a10b4e 100644
> --- a/drivers/gpu/drm/i915/i915_gem.c
> +++ b/drivers/gpu/drm/i915/i915_gem.c
> @@ -472,7 +472,7 @@ static void __fence_set_priority(struct dma_fence *fence, int prio)
> struct drm_i915_gem_request *rq;
> struct intel_engine_cs *engine;
>
> - if (!dma_fence_is_i915(fence))
> + if (dma_fence_is_signaled(fence) || !dma_fence_is_i915(fence))
> return;
>
> rq = to_request(fence);

\
 
 \ /
  Last update: 2018-01-06 14:25    [W:0.079 / U:16.780 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site