aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorJack Xiao <Jack.Xiao@amd.com>2019-05-29 13:24:22 +0800
committerAlex Deucher <alexander.deucher@amd.com>2019-07-01 14:54:31 -0500
commitbae17d2a1b6a2f1d539c77a581bb6b88ce622851 (patch)
treeb15e111f45b37a9b67b7ba57db6453a86e17f236 /drivers/gpu
parentdrm/amd/powerplay: use hardware fan control if no powerplay fan table (diff)
downloadlinux-dev-bae17d2a1b6a2f1d539c77a581bb6b88ce622851.tar.xz
linux-dev-bae17d2a1b6a2f1d539c77a581bb6b88ce622851.zip
drm/amdgpu: add field indicating if has PCIE atomics support
The new field in amdgpu device is used to record whether the system has PCIE atomics support. The field can be exposed to UMD or kfd whether PCIE atomics have supported. Signed-off-by: Jack Xiao <Jack.Xiao@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
index 10c4ce69347c..f88d8141447c 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
@@ -775,6 +775,7 @@ struct amdgpu_device {
struct mutex grbm_idx_mutex;
struct dev_pm_domain vga_pm_domain;
bool have_disp_power_ref;
+ bool have_atomics_support;
/* BIOS */
bool is_atom_fw;