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)
commitb04002f4dbee039feaf9ef814ba08c24a588e146
tree3b65ee770c58b8bfc7ad572dc8af8ed3c8748bdf
parent0e744b519fa18abb92bcd73a611777a6c6f591ba
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