drm/i915/gt: include tsc.h where used
authorLucas De Marchi <lucas.demarchi@intel.com>
Thu, 7 Oct 2021 23:32:10 +0000 (16:32 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Tue, 12 Oct 2021 15:52:40 +0000 (08:52 -0700)
We are currently using tsc_khz as a fallback so add the right include.
For other architectures we may need to add a different fallback, but
this is not being used by dgfx so we may as well just paper it over.

Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211007233212.3896460-2-lucas.demarchi@intel.com
drivers/gpu/drm/i915/gt/intel_llc.c

index eb1a15deed222f650f8a55c2c2d00f717e5309f6..d6c6b8b0a1e63e660233125bff1e43599c1c9628 100644 (file)
@@ -3,6 +3,7 @@
  * Copyright © 2019 Intel Corporation
  */
 
+#include <asm/tsc.h>
 #include <linux/cpufreq.h>
 
 #include "i915_drv.h"