drm/i915/gen11: add support for reading the timestamp frequency
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Tue, 9 Jan 2018 23:28:35 +0000 (21:28 -0200)
committerPaulo Zanoni <paulo.r.zanoni@intel.com>
Wed, 28 Mar 2018 18:14:29 +0000 (11:14 -0700)
commitd775a7b1840ddc96e7f25af20989ff43f2809436
treee76163679fbcc909a12704deb6b1ce7cf2069a07
parentfbe6f8f2a648584b97beeaaaeff75b795fb3c6cb
drm/i915/gen11: add support for reading the timestamp frequency

The only thing that differs here is that the crystal clock freq now
has four possible values.

This patch gets rid of the "Unknown gen, unable to compute..." message
at boot for gen11.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180109232835.11478-18-paulo.r.zanoni@intel.com
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_device_info.c