drm/i915/pmu: Use existing uncore helper to read gpm_timestamp
authorUmesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
Wed, 27 Apr 2022 00:35:15 +0000 (17:35 -0700)
committerJohn Harrison <John.C.Harrison@Intel.com>
Thu, 28 Apr 2022 19:30:32 +0000 (12:30 -0700)
commitad6ade8e34df62e8b876ca40509bfa2ca8ad3262
tree9fa3d6bbe10b03e9141b2cb0b2f32269ab588a38
parent95fb5f188cba275a87955a7b9534bd80d38f78b9
drm/i915/pmu: Use existing uncore helper to read gpm_timestamp

Use intel_uncore_read64_2x32 to read upper and lower fields of the GPM
timestamp.

v2: Fix compile error

Signed-off-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220427003515.3944267-1-umesh.nerlige.ramappa@intel.com
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c