RE: [PATCH 2/3] drm/amdgpu: fix the fence timeline null pointer

2021-12-14 Thread Huang, Ray
Deucher, > Alexander ; Liu, Monk > > Subject: Re: [PATCH 2/3] drm/amdgpu: fix the fence timeline null pointer > > Am 13.12.21 um 07:34 schrieb Huang Rui: > > Initialize the flags for embedded fence in the job at dma_fence_init(). > > Otherwise, we will go a wrong way in

Re: [PATCH 2/3] drm/amdgpu: fix the fence timeline null pointer

2021-12-14 Thread Christian König
Am 13.12.21 um 07:34 schrieb Huang Rui: Initialize the flags for embedded fence in the job at dma_fence_init(). Otherwise, we will go a wrong way in amdgpu_fence_get_timeline_name callback and trigger a null pointer panic once we enabled the trace event here. [ 156.131790] BUG: kernel NULL poin

[PATCH 2/3] drm/amdgpu: fix the fence timeline null pointer

2021-12-12 Thread Huang Rui
Initialize the flags for embedded fence in the job at dma_fence_init(). Otherwise, we will go a wrong way in amdgpu_fence_get_timeline_name callback and trigger a null pointer panic once we enabled the trace event here. [ 156.131790] BUG: kernel NULL pointer dereference, address: 02a0