OSDN Git Service

drm/i915: Set rawclk earlier during mmio probe
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 4 Jan 2021 11:51:41 +0000 (11:51 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 5 Jan 2021 09:15:57 +0000 (09:15 +0000)
commitc864e9abafca5a5d0e1c1b35d85451b3381c9936
tree45fd15a9f2d3fe13207310d14b2126707a8c2321
parent6895649bf13f36dad752ee2766e718a7c2d82d07
drm/i915: Set rawclk earlier during mmio probe

Older platforms use rawclk to derive the CS clock. rawclk is being
determined during intel_device_info_init(), and so that needs to be
pushed slightly earlier.

Fixes: f170523a7b8e ("drm/i915/gt: Consolidate the CS timestamp clocks")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Andi Shyti <andi.shyti@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210104115145.24460-2-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_drv.c