Re: [PATCH] drm/amdgpu: fix to add buffer funcs check

2017-04-11 Thread Christian König
Am 11.04.2017 um 11:45 schrieb Huang Rui: On Tue, Apr 11, 2017 at 02:53:27PM +0800, Christian König wrote: Am 11.04.2017 um 04:58 schrieb Huang Rui: This patch fixes the case when buffer funcs is empty and bo evict is executing. It must double check buffer funcs, otherwise, a NULL pointer deref

Re: [PATCH] drm/amdgpu: fix to add buffer funcs check

2017-04-11 Thread Huang Rui
On Tue, Apr 11, 2017 at 02:53:27PM +0800, Christian König wrote: > Am 11.04.2017 um 04:58 schrieb Huang Rui: > > This patch fixes the case when buffer funcs is empty and bo evict is > > executing. It must double check buffer funcs, otherwise, a NULL > > pointer dereference kernel panic will be enco

Re: [PATCH] drm/amdgpu: fix to add buffer funcs check

2017-04-10 Thread Christian König
Am 11.04.2017 um 04:58 schrieb Huang Rui: This patch fixes the case when buffer funcs is empty and bo evict is executing. It must double check buffer funcs, otherwise, a NULL pointer dereference kernel panic will be encountered. BUG: unable to handle kernel NULL pointer dereference at

答复: [PATCH] drm/amdgpu: fix to add buffer funcs check

2017-04-10 Thread Wang, Ken
Reviewed-by: Ken Wang 发件人: amd-gfx 代表 Huang Rui 发送时间: 2017年4月11日 10:58:21 收件人: amd-gfx@lists.freedesktop.org; Deucher, Alexander 抄送: Huang, Ray 主题: [PATCH] drm/amdgpu: fix to add buffer funcs check This patch fixes the case when buffer funcs is empty and bo

[PATCH] drm/amdgpu: fix to add buffer funcs check

2017-04-10 Thread Huang Rui
This patch fixes the case when buffer funcs is empty and bo evict is executing. It must double check buffer funcs, otherwise, a NULL pointer dereference kernel panic will be encountered. BUG: unable to handle kernel NULL pointer dereference at 01a4 IP: [] amdgpu_evict_flags+0x3d/0xf0