]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/i915: Store CS timestamp frequency in Hz
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 2 Mar 2020 14:39:39 +0000 (16:39 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 14 May 2020 16:59:53 +0000 (19:59 +0300)
commit56f1b31f1dd60db4b02024a13eea45b5bbccc44e
tree4a4425bfa32f95cb3ba2230d141b9279cf8b4fc0
parent2e2701582a8039b2f8a2fa811237ac8ec98355fa
drm/i915: Store CS timestamp frequency in Hz

kHz isn't accurate enough for storing the CS timestamp
frequency on some of the platforms. Store the value
in Hz instead.

Cc: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200302143943.32676-2-ville.syrjala@linux.intel.com
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
drivers/gpu/drm/i915/i915_debugfs.c
drivers/gpu/drm/i915/i915_getparam.c
drivers/gpu/drm/i915/i915_perf.c
drivers/gpu/drm/i915/intel_device_info.c
drivers/gpu/drm/i915/intel_device_info.h
drivers/gpu/drm/i915/selftests/i915_perf.c