]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/cnl: only divide up base frequency with crystal source
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Mon, 13 Nov 2017 23:34:55 +0000 (23:34 +0000)
committerPaulo Zanoni <paulo.r.zanoni@intel.com>
Mon, 4 Dec 2017 18:16:11 +0000 (16:16 -0200)
commit5e66a9991f58230d52bbad41b277fa22482be9ad
treeddc72ff498dedefb988155f35809589bd43bf043
parent488dc0b8bfc291705877e819d9b1637eb5cc1074
drm/i915/cnl: only divide up base frequency with crystal source

We apply this logic to Gen9 as well. We didn't notice this issue as
most part we've encountered so far only use the crystal as source for
their timestamp registers.

Fixes: d0db43e51c ("drm/i915: expose command stream timestamp frequency to userspace")
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-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/20171113233455.12085-5-lionel.g.landwerlin@intel.com
drivers/gpu/drm/i915/intel_device_info.c