Isn't from me... damn keyboard
-邮件原件-
发件人: amd-gfx 代表 Liu, Monk
发送时间: 2020年2月20日 23:24
收件人: Das, Nirmoy ; amd-gfx@lists.freedesktop.org
主题: 回复: 回复: [PATCH] drm/amdgpu: fix a bug NULL pointer dereference
I don't know
The patch is from me, I just think the patch is dropping a vm update
I don't know
The patch is from me, I just think the patch is dropping a vm update which
looks not perfect to me
-邮件原件-
发件人: amd-gfx 代表 Nirmoy
发送时间: 2020年2月20日 23:21
收件人: amd-gfx@lists.freedesktop.org
主题: Re: 回复: [PATCH] drm/amdgpu: fix a bug NULL pointer dereference
Hi Monk,
How can
Hi Monk,
How can I reproduce this bug ?
Regards,
Nirmoy
On 2/20/20 4:15 PM, Nirmoy wrote:
On 2/20/20 2:35 PM, Liu, Monk wrote:
Sorry, my previous idea still leave RQ null, please check if below
method works:
29 static struct drm_sched_rq *
130 drm_sched_entity_get_free_sched(struct
On 2/20/20 2:35 PM, Liu, Monk wrote:
Sorry, my previous idea still leave RQ null, please check if below method works:
29 static struct drm_sched_rq *
130 drm_sched_entity_get_free_sched(struct drm_sched_entity *entity)
131 {
132 struct drm_sched_rq *rq = NULL;
133 unsigned int
Dennis ; Koenig, Christian
; Zhang, Hawking ;
amd-gfx@lists.freedesktop.org; Deucher, Alexander ;
Zhou1, Tao ; Chen, Guchun
主题: 回复: [PATCH] drm/amdgpu: fix a bug NULL pointer dereference
so the scenario is:
KMD doing page update -> ECC -> baco reset (mute SDMA scheduler) ->
drm_sched_entity_ge
day, February 19, 2020 7:30 PM
To: Koenig, Christian ; Zhang, Hawking
; Li, Dennis ;
amd-gfx@lists.freedesktop.org; Deucher, Alexander ;
Zhou1, Tao ; Chen, Guchun
Subject: 回复: [PATCH] drm/amdgpu: fix a bug NULL pointer dereference
> + if (!entity->rq)
> + return 0;
>
> + if (!entity->rq)
> + return 0;
> +
Yes, supposedly we shouldn't get 'entity->rq == NULL' case , that looks the
true bug
-邮件原件-
发件人: amd-gfx 代表 Christian K?nig
发送时间: 2020年2月19日 18:50
收件人: Zhang, Hawking ; Li, Dennis ;
amd-gfx@lists.freedesktop.org; Deucher,