Re: [PATCH] drm/amdgpu: Fix an error message in rmmod

2022-01-28 Thread Felix Kuehling
rg *Cc:* Grodzovsky, Andrey ; Chen, Guchun *Subject:* Re: [PATCH] drm/amdgpu: Fix an error message in rmmod The hang you're seeing is the result of a command submission of an UNMAP_QUEUES and QUERY_STATUS command to the HIQ. This is done using a doorbell. KFD writes commands to the HIQ and rings

Re: [PATCH] drm/amdgpu: Fix an error message in rmmod

2022-01-27 Thread Yin, Tianci (Rico)
ent: Thursday, January 27, 2022 23:28 To: Yin, Tianci (Rico) ; Wang, Yang(Kevin) ; amd-gfx@lists.freedesktop.org Cc: Grodzovsky, Andrey ; Chen, Guchun Subject: Re: [PATCH] drm/amdgpu: Fix an error message in rmmod The hang you're seeing is the result of a command submission of an UNMAP_QU

Re: [PATCH] drm/amdgpu: Fix an error message in rmmod

2022-01-27 Thread Felix Kuehling
*From:* Kuehling, Felix *Sent:* Wednesday, January 26, 2022 23:08 *To:* Yin, Tianci (Rico) ; Wang, Yang(Kevin) ; amd-gfx@lists.freedesktop.org *Cc:* Grodzovsky, Andrey ; Chen, Guchun *Subject:* Re: [PATCH] drm/amdgpu: Fix an error message in rmmod My question is, why is this problem only seen during m

Re: [PATCH] drm/amdgpu: Fix an error message in rmmod

2022-01-26 Thread Yin, Tianci (Rico)
: Grodzovsky, Andrey ; Chen, Guchun Subject: Re: [PATCH] drm/amdgpu: Fix an error message in rmmod My question is, why is this problem only seen during module unload? Why aren't we seeing HWS hangs due to GFX_OFF all the time in normal operations? For example when the GPU is idle and a new KFD p

Re: [PATCH] drm/amdgpu: Fix an error message in rmmod

2022-01-26 Thread Felix Kuehling
lix *Sent:* Tuesday, January 25, 2022 23:31 *To:* Wang, Yang(Kevin) ; Yin, Tianci (Rico) ; amd-gfx@lists.freedesktop.org *Cc:* Grodzovsky, Andrey ; Chen, Guchun *Subject:* Re: [PATCH] drm/amdgpu: Fix an error message in rmmod I have no objection to the change. It restores the sequence tha

Re: [PATCH] drm/amdgpu: Fix an error message in rmmod

2022-01-25 Thread Yin, Tianci (Rico)
hanks again! Rico From: Kuehling, Felix Sent: Tuesday, January 25, 2022 23:31 To: Wang, Yang(Kevin) ; Yin, Tianci (Rico) ; amd-gfx@lists.freedesktop.org Cc: Grodzovsky, Andrey ; Chen, Guchun Subject: Re: [PATCH] drm/amdgpu: Fix an error message in rmmod I ha

Re: [PATCH] drm/amdgpu: Fix an error message in rmmod

2022-01-25 Thread Felix Kuehling
M *To:* amd-gfx@lists.freedesktop.org *Cc:* Grodzovsky, Andrey ; Yin, Tianci (Rico) ; Chen, Guchun *Subject:* [PATCH] drm/amdgpu: Fix an error message in rmmod From: "Tianci.Yin" [why] In rmmod procedure, kfd sends cp a dequeue request, but the request does not get response, then an error

Re: [PATCH] drm/amdgpu: Fix an error message in rmmod

2022-01-25 Thread Wang, Yang(Kevin)
: Tuesday, January 25, 2022 6:03 PM To: amd-gfx@lists.freedesktop.org Cc: Grodzovsky, Andrey ; Yin, Tianci (Rico) ; Chen, Guchun Subject: [PATCH] drm/amdgpu: Fix an error message in rmmod From: "Tianci.Yin" [why] In rmmod procedure, kfd sends cp a dequeue request, but the request do

[PATCH] drm/amdgpu: Fix an error message in rmmod

2022-01-25 Thread Tianci Yin
From: "Tianci.Yin" [why] In rmmod procedure, kfd sends cp a dequeue request, but the request does not get response, then an error message "cp queue pipe 4 queue 0 preemption failed" printed. [how] Performing kfd suspending after disabling gfxoff can fix it. Change-Id: I0453f28820542d4a5ab26e38f