RE: [PATCH v2] drm/amdgpu: fix CG enabling hang with gfxoff enabled

2018-06-05 Thread Huang, Ray
: RE: [PATCH v2] drm/amdgpu: fix CG enabling hang with gfxoff enabled Reviewed-by: Hawking Zhang Regards, Hawking -Original Message- From: amd-gfx On Behalf Of Huang Rui Sent: 2018年6月5日 11:02 To: amd-gfx@lists.freedesktop.org Cc: Deucher, Alexander ; Kuehling, Felix ; Huang, Ray

RE: [PATCH v2] drm/amdgpu: fix CG enabling hang with gfxoff enabled

2018-06-05 Thread Zhang, Hawking
: fix CG enabling hang with gfxoff enabled Reviewed-by: Hawking Zhang Regards, Hawking -Original Message- From: amd-gfx On Behalf Of Huang Rui Sent: 2018年6月5日 11:02 To: amd-gfx@lists.freedesktop.org Cc: Deucher, Alexander ; Kuehling, Felix ; Huang, Ray ; Koenig, Christian ; Zhang, Hawking

RE: [PATCH v2] drm/amdgpu: fix CG enabling hang with gfxoff enabled

2018-06-04 Thread Zhang, Hawking
Reviewed-by: Hawking Zhang Regards, Hawking -Original Message- From: amd-gfx On Behalf Of Huang Rui Sent: 2018年6月5日 11:02 To: amd-gfx@lists.freedesktop.org Cc: Deucher, Alexander ; Kuehling, Felix ; Huang, Ray ; Koenig, Christian ; Zhang, Hawking Subject: [PATCH v2] drm/amdgpu: fix CG

Re: [PATCH v2] drm/amdgpu: fix CG enabling hang with gfxoff enabled

2018-06-04 Thread Christian König
Am 05.06.2018 um 05:01 schrieb Huang Rui: After defer the execution of clockgating enabling, at that time, gfx already enter into "off" state. Howerver, clockgating enabling will use MMIO to access the gfx registers, then get the gfx hung. So here we should move the gfx powergating and gfxoff en