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>
This commit is contained in:
Jack Xiao 2019-05-29 13:24:22 +08:00 committed by Alex Deucher
parent 04796a3e44
commit bae17d2a1b
1 changed files with 1 additions and 0 deletions

View File

@ -775,6 +775,7 @@ struct amdgpu_device {
struct mutex grbm_idx_mutex; struct mutex grbm_idx_mutex;
struct dev_pm_domain vga_pm_domain; struct dev_pm_domain vga_pm_domain;
bool have_disp_power_ref; bool have_disp_power_ref;
bool have_atomics_support;
/* BIOS */ /* BIOS */
bool is_atom_fw; bool is_atom_fw;