RE: [PATCH V2] drm/amdgpu/gfx11: update gpu_clock_counter logic

2023-04-20 Thread Zhang, Hawking
[AMD Official Use Only - General] Reviewed-by: Hawking Zhang Regards, Hawking -Original Message- From: amd-gfx On Behalf Of Alex Deucher Sent: Wednesday, April 12, 2023 05:14 To: amd-gfx@lists.freedesktop.org Cc: Deucher, Alexander Subject: [PATCH V2] drm/amdgpu/gfx11: update

Re: [PATCH V2] drm/amdgpu/gfx11: update gpu_clock_counter logic

2023-04-20 Thread Alex Deucher
Ping? On Tue, Apr 11, 2023 at 5:14 PM Alex Deucher wrote: > > This code was written prior to previous updates to this > logic for other chips. The RSC registers are part of > SMUIO which is an always on block so there is no need > to disable gfxoff. Additionally add the carryover and > preempti

[PATCH V2] drm/amdgpu/gfx11: update gpu_clock_counter logic

2023-04-11 Thread Alex Deucher
This code was written prior to previous updates to this logic for other chips. The RSC registers are part of SMUIO which is an always on block so there is no need to disable gfxoff. Additionally add the carryover and preemption checks. v2: rebase Signed-off-by: Alex Deucher --- drivers/gpu/dr