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

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

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

2017-04-11 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