[PATCH 6.1 274/292] drm/amdgpu: refine get gpu clock counter method