Re: [PATCH] drm/i915/request: fix early tracepoints

2021-09-09 Thread Matthew Auld
On 08/09/2021 18:38, Daniel Vetter wrote: On Fri, Sep 03, 2021 at 12:24:05PM +0100, Matthew Auld wrote: Currently we blow up in trace_dma_fence_init, when calling into get_driver_name or get_timeline_name, since both the engine and context might be NULL(or contain some garbage address) in the ca

Re: [PATCH] drm/i915/request: fix early tracepoints

2021-09-08 Thread Daniel Vetter
On Fri, Sep 03, 2021 at 12:24:05PM +0100, Matthew Auld wrote: > Currently we blow up in trace_dma_fence_init, when calling into > get_driver_name or get_timeline_name, since both the engine and context > might be NULL(or contain some garbage address) in the case of newly > allocated slab objects vi

[PATCH] drm/i915/request: fix early tracepoints

2021-09-03 Thread Matthew Auld
Currently we blow up in trace_dma_fence_init, when calling into get_driver_name or get_timeline_name, since both the engine and context might be NULL(or contain some garbage address) in the case of newly allocated slab objects via the request ctor. Note that we also use SLAB_TYPESAFE_BY_RCU here, w