回复: 回复: [PATCH] drm/amd/amdgpu: disable GFXOFF around debugfs access to MMIO

2020-02-21 Thread Liu, Monk
.com>>; Liu, Monk mailto:monk@amd.com>> Cc: StDenis, Tom mailto:tom.stde...@amd.com>>; Alex Deucher mailto:alexdeuc...@gmail.com>>; amd-gfx list mailto:amd-gfx@lists.freedesktop.org>> Subject: Re: 回复: [PATCH] drm/amd/amdgpu: disable GFXOFF around debugfs access to

回复: 回复: [PATCH] drm/amd/amdgpu: disable GFXOFF around debugfs access to MMIO

2020-02-21 Thread Liu, Monk
>>>RREG32_KIQ and WREG32_KIQ If you are using RREG32_KIQ it is always go through KIQ no matter GFX is "on" state or not -邮件原件- 发件人: Huang, Ray 发送时间: 2020年2月21日 23:23 收件人: Liu, Monk 抄送: StDenis, Tom ; Alex Deucher ; amd-gfx list 主题: Re: 回复: [PATCH] drm/amd/amd

Re: 回复: [PATCH] drm/amd/amdgpu: disable GFXOFF around debugfs access to MMIO

2020-02-21 Thread Christian König
20 10:43 AM *To:* Deucher, Alexander ; Huang, Ray ; Liu, Monk *Cc:* StDenis, Tom ; Alex Deucher ; amd-gfx list *Subject:* Re: 回复: [PATCH] drm/amd/amdgpu: disable GFXOFF around debugfs access to MMIO Do we have a way to disable GFXOFF on the fly? If not maybe it would be a good idea to add a s

Re: 回复: [PATCH] drm/amd/amdgpu: disable GFXOFF around debugfs access to MMIO

2020-02-21 Thread Tom St Denis
cher, Alexander ; Huang, Ray ; Liu, Monk *Cc:* StDenis, Tom ; Alex Deucher ; amd-gfx list *Subject:* Re: 回复: [PATCH] drm/amd/amdgpu: disable GFXOFF around debugfs access to MMIO Do we have a way to disable GFXOFF on the fly? If not maybe it would be a good idea to add a separate debugfs f

Re: 回复: [PATCH] drm/amd/amdgpu: disable GFXOFF around debugfs access to MMIO

2020-02-21 Thread Christian König
*Cc:* StDenis, Tom ; Alex Deucher ; amd-gfx list *Subject:* Re: 回复: [PATCH] drm/amd/amdgpu: disable GFXOFF around debugfs access to MMIO Do we have a way to disable GFXOFF on the fly? If not maybe it would be a good idea to add a separate debugfs file to do this. Christian. Am 21.02.20 um

Re: 回复: [PATCH] drm/amd/amdgpu: disable GFXOFF around debugfs access to MMIO

2020-02-21 Thread Deucher, Alexander
Alex From: Christian König Sent: Friday, February 21, 2020 10:43 AM To: Deucher, Alexander ; Huang, Ray ; Liu, Monk Cc: StDenis, Tom ; Alex Deucher ; amd-gfx list Subject: Re: 回复: [PATCH] drm/amd/amdgpu: disable GFXOFF around debugfs access to MMIO Do we have a way to disable GFXOFF o

Re: 回复: [PATCH] drm/amd/amdgpu: disable GFXOFF around debugfs access to MMIO

2020-02-21 Thread Huang Rui
On Fri, Feb 21, 2020 at 11:27:10PM +0800, Christian König wrote: > Am 21.02.20 um 16:23 schrieb Huang Rui: > > On Fri, Feb 21, 2020 at 11:18:07PM +0800, Liu, Monk wrote: > >> Better not use KIQ, because when you use debugfs to read register you > >> usually hit a hang, and by that case KIQ probabl

Re: 回复: [PATCH] drm/amd/amdgpu: disable GFXOFF around debugfs access to MMIO

2020-02-21 Thread Christian König
:* Friday, February 21, 2020 10:27 AM *To:* Huang, Ray ; Liu, Monk *Cc:* StDenis, Tom ; Alex Deucher ; amd-gfx list *Subject:* Re: 回复: [PATCH] drm/amd/amdgpu: disable GFXOFF around debugfs access to MMIO Am 21.02.20 um 16:23 schrieb Huang Rui: > On Fri, Feb 21, 2020 at 11:18:07PM +0800, Liu, M

Re: 回复: [PATCH] drm/amd/amdgpu: disable GFXOFF around debugfs access to MMIO

2020-02-21 Thread Deucher, Alexander
From: amd-gfx on behalf of Christian König Sent: Friday, February 21, 2020 10:27 AM To: Huang, Ray ; Liu, Monk Cc: StDenis, Tom ; Alex Deucher ; amd-gfx list Subject: Re: 回复: [PATCH] drm/amd/amdgpu: disable GFXOFF around debugfs access to MMIO Am 21.02.20 um 16:23 schrieb Huang Rui: >

Re: 回复: [PATCH] drm/amd/amdgpu: disable GFXOFF around debugfs access to MMIO

2020-02-21 Thread Christian König
Am 21.02.20 um 16:23 schrieb Huang Rui: On Fri, Feb 21, 2020 at 11:18:07PM +0800, Liu, Monk wrote: Better not use KIQ, because when you use debugfs to read register you usually hit a hang, and by that case KIQ probably already die If CP is busy, the gfx should be in "on" state at that time, we

Re: 回复: [PATCH] drm/amd/amdgpu: disable GFXOFF around debugfs access to MMIO

2020-02-21 Thread Huang Rui
On Fri, Feb 21, 2020 at 11:18:07PM +0800, Liu, Monk wrote: > Better not use KIQ, because when you use debugfs to read register you usually > hit a hang, and by that case KIQ probably already die If CP is busy, the gfx should be in "on" state at that time, we needn't use KIQ. Thanks, Ray > > -

回复: [PATCH] drm/amd/amdgpu: disable GFXOFF around debugfs access to MMIO

2020-02-21 Thread Liu, Monk
Better not use KIQ, because when you use debugfs to read register you usually hit a hang, and by that case KIQ probably already die -邮件原件- 发件人: amd-gfx 代表 Huang Rui 发送时间: 2020年2月21日 22:34 收件人: StDenis, Tom 抄送: Alex Deucher ; amd-gfx list 主题: Re: [PATCH] drm/amd/amdgpu: disable GFXOFF