]> 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)
commitb4d6671d709a3e3cea17e9351d83495687e03cca
tree9fa3d6bbe10b03e9141b2cb0b2f32269ab588a38
parente6c47f5c89f392ddb8cf350acdb07ab0bc357872
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