Commit d5aa417
committed
drm/amdgpu/gfx11: update gpu_clock_counter logic
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
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org # 6.1.y: 5591a05: drm/amdgpu: refine get gpu clock counter method
Cc: stable@vger.kernel.org # 6.2.y: 5591a05: drm/amdgpu: refine get gpu clock counter method
Cc: stable@vger.kernel.org # 6.3.y: 5591a05: drm/amdgpu: refine get gpu clock counter method1 parent f1fcbaa commit d5aa417
1 file changed
Lines changed: 7 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4667 | 4667 | | |
4668 | 4668 | | |
4669 | 4669 | | |
4670 | | - | |
4671 | | - | |
4672 | 4670 | | |
| 4671 | + | |
| 4672 | + | |
4673 | 4673 | | |
4674 | 4674 | | |
4675 | 4675 | | |
4676 | 4676 | | |
4677 | 4677 | | |
| 4678 | + | |
| 4679 | + | |
4678 | 4680 | | |
| 4681 | + | |
4679 | 4682 | | |
4680 | 4683 | | |
4681 | 4684 | | |
4682 | 4685 | | |
4683 | 4686 | | |
| 4687 | + | |
4684 | 4688 | | |
4685 | 4689 | | |
4686 | | - | |
4687 | | - | |
| 4690 | + | |
4688 | 4691 | | |
4689 | 4692 | | |
4690 | 4693 | | |
| |||
0 commit comments