]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc102e2480544c1c49e068083c9ecb4d265ea734a
tree9fa3d6bbe10b03e9141b2cb0b2f32269ab588a38
parent336c429a03717c86a583f57db1cfc1e746a99746
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