]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/amdgpu: Fix asm/hypervisor.h build error.
authorYongqiang Sun <yongqiang.sun@amd.com>
Fri, 8 Apr 2022 13:26:14 +0000 (09:26 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 11 Apr 2022 17:50:35 +0000 (13:50 -0400)
commitc36d5abf47e4805a18e8ce6857b41b8a3c84745f
tree5454cf6af2e78155e2621067cfc0674753cf3609
parent1dbd2d878950ecdd77f20e30109215d2b665c9b8
drm/amd/amdgpu: Fix asm/hypervisor.h build error.

Add CONFIG_X86 check to fix the build error.

Fixes: 936cb42506c78d ("drm/amd/amdgpu: Only reserve vram for firmware with vega9 MS_HYPERV host.")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Yongqiang Sun <yongqiang.sun@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c