]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Read rawclk_freq earlier
authorChris Wilson <chris@chris-wilson.co.uk>
Sun, 16 Feb 2020 16:34:45 +0000 (16:34 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 19 Feb 2020 14:09:18 +0000 (14:09 +0000)
commitbd3f924eb35e32f55dd2042f3f49c0321ba6fcbf
tree3b65ee770c58b8bfc7ad572dc8af8ed3c8748bdf
parent4b9a26992e0a775dc44bb394c1bc3699ee468a61
drm/i915: Read rawclk_freq earlier

Read the rawclk_freq during runtime info probing, prior to its first use
in computing the CS timestamp frequency. Then store it in the runtime
info, and include it in the debug printouts.

Closes: https://gitlab.freedesktop.org/drm/intel/issues/834
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200216163445.555786-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/display/intel_cdclk.c
drivers/gpu/drm/i915/display/intel_cdclk.h
drivers/gpu/drm/i915/display/intel_display_power.c
drivers/gpu/drm/i915/display/intel_dp.c
drivers/gpu/drm/i915/display/intel_panel.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_device_info.c
drivers/gpu/drm/i915/intel_device_info.h