Re: [Intel-gfx] [PATCH] drm/i915: Use DRIVER_NAME for tracing unattached requests

2021-06-01 Thread Daniel Vetter
On Tue, Jun 1, 2021 at 1:13 PM Matthew Auld wrote: > On 31/05/2021 08:53, Daniel Vetter wrote: > > On Thu, May 20, 2021 at 4:28 PM Daniel Vetter wrote: > >> > >> On Thu, May 20, 2021 at 08:35:14AM +0100, Matthew Auld wrote: > >>> From: Chris Wilson > >>> > >>> The first tracepoint for a request

Re: [Intel-gfx] [PATCH] drm/i915: Use DRIVER_NAME for tracing unattached requests

2021-06-01 Thread Matthew Auld
On 31/05/2021 08:53, Daniel Vetter wrote: On Thu, May 20, 2021 at 4:28 PM Daniel Vetter wrote: On Thu, May 20, 2021 at 08:35:14AM +0100, Matthew Auld wrote: From: Chris Wilson The first tracepoint for a request is trace_dma_fence_init called before we have associated the request with a devi

Re: [Intel-gfx] [PATCH] drm/i915: Use DRIVER_NAME for tracing unattached requests

2021-05-31 Thread Daniel Vetter
On Thu, May 20, 2021 at 4:28 PM Daniel Vetter wrote: > > On Thu, May 20, 2021 at 08:35:14AM +0100, Matthew Auld wrote: > > From: Chris Wilson > > > > The first tracepoint for a request is trace_dma_fence_init called before > > we have associated the request with a device. The tracepoint uses > >

Re: [Intel-gfx] [PATCH] drm/i915: Use DRIVER_NAME for tracing unattached requests

2021-05-20 Thread Daniel Vetter
On Thu, May 20, 2021 at 08:35:14AM +0100, Matthew Auld wrote: > From: Chris Wilson > > The first tracepoint for a request is trace_dma_fence_init called before > we have associated the request with a device. The tracepoint uses > fence->ops->get_driver_name() as a pretty name, and as we try to re

[Intel-gfx] [PATCH] drm/i915: Use DRIVER_NAME for tracing unattached requests

2021-05-20 Thread Matthew Auld
From: Chris Wilson The first tracepoint for a request is trace_dma_fence_init called before we have associated the request with a device. The tracepoint uses fence->ops->get_driver_name() as a pretty name, and as we try to report the device name this oopses as it is then NULL. Support the early t