diff options
author | Lucas De Marchi <lucas.demarchi@intel.com> | 2021-10-07 16:32:10 -0700 |
---|---|---|
committer | Lucas De Marchi <lucas.demarchi@intel.com> | 2021-10-12 08:52:40 -0700 |
commit | aa5e9f98113bf3808beb65c8b0ad452fd94cf797 (patch) | |
tree | bf65103391900af5bb355c9e8071e7d447054230 | |
parent | 1a839e016e4964b5c8384e5d82e5e5ac02a23f52 (diff) | |
download | linux-aa5e9f98113bf3808beb65c8b0ad452fd94cf797.tar.bz2 |
drm/i915/gt: include tsc.h where used
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
-rw-r--r-- | drivers/gpu/drm/i915/gt/intel_llc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/gt/intel_llc.c b/drivers/gpu/drm/i915/gt/intel_llc.c index eb1a15deed22..d6c6b8b0a1e6 100644 --- a/drivers/gpu/drm/i915/gt/intel_llc.c +++ b/drivers/gpu/drm/i915/gt/intel_llc.c @@ -3,6 +3,7 @@ * Copyright © 2019 Intel Corporation */ +#include <asm/tsc.h> #include <linux/cpufreq.h> #include "i915_drv.h" |