]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/tgl: add support for reading the timestamp frequency
authorMichel Thierry <michel.thierry@intel.com>
Sat, 17 Aug 2019 09:38:24 +0000 (02:38 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Tue, 20 Aug 2019 19:48:57 +0000 (12:48 -0700)
commit05170046deadf51e8243d029d5e599e10fe21fdb
tree4cddfb879fdf4fde20387f24b1e91865a5ef83ce
parentfd124fa7c20605f28af41b0b91523cf768ffdf54
drm/i915/tgl: add support for reading the timestamp frequency

There are no changes with respect to GEN11, which Paulo wrote.

This gets rid of the "Missing switch case in read_timestamp_frequency"
message at boot for Tiger Lake.

[ Lucas: BSpec: 10742 and 9024, but there's a mismatch on the values.
  Let's say a glitch in the spec. Tested locally and it works. ]

Cc: Paulo Zanoni <paulo.r.zanoni@intel.com>
Cc: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Signed-off-by: Michel Thierry <michel.thierry@intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190817093902.2171-3-lucas.demarchi@intel.com
drivers/gpu/drm/i915/intel_device_info.c