Skip to content

Commit

Permalink
drm/i915/gt: include tsc.h where used
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Lucas De Marchi committed Oct 12, 2021
1 parent 1a839e0 commit aa5e9f9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/gpu/drm/i915/gt/intel_llc.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
* Copyright © 2019 Intel Corporation
*/

#include <asm/tsc.h>
#include <linux/cpufreq.h>

#include "i915_drv.h"
Expand Down

0 comments on commit aa5e9f9

Please sign in to comment.