[Intel-gfx] [PATCH] drm/i915/gem: fix non-SMP build failure

Chris Wilson chris at chris-wilson.co.uk
Mon Jan 25 12:34:40 UTC 2021


Quoting Arnd Bergmann (2021-01-25 12:25:34)
> From: Arnd Bergmann <arnd at arndb.de>
> 
> The x86-specific wbinvd_on_all_cpus() function is exported
> through asm/smp.h, causing a build failure in the i915 driver
> when SMP is disabled:
> 
> drivers/gpu/drm/i915/i915_gem.c:1182:2: error: implicit declaration of function 'wbinvd_on_all_cpus' [-Werror,-Wimplicit-function-declaration]

I thought the code was already in i915_gem_pm.c (which included smp.h);
it is now.
-Chris


More information about the Intel-gfx mailing list