diff options
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2614-drm-amdgpu-add-field-indicating-if-has-PCIE-atomics-.patch')
-rw-r--r-- | meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2614-drm-amdgpu-add-field-indicating-if-has-PCIE-atomics-.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2614-drm-amdgpu-add-field-indicating-if-has-PCIE-atomics-.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2614-drm-amdgpu-add-field-indicating-if-has-PCIE-atomics-.patch new file mode 100644 index 00000000..561110ab --- /dev/null +++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2614-drm-amdgpu-add-field-indicating-if-has-PCIE-atomics-.patch @@ -0,0 +1,31 @@ +From 0abd08369350777a217f2a68c6ceee7e7eff2768 Mon Sep 17 00:00:00 2001 +From: Jack Xiao <Jack.Xiao@amd.com> +Date: Wed, 29 May 2019 13:24:22 +0800 +Subject: [PATCH 2614/2940] 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> +--- + drivers/gpu/drm/amd/amdgpu/amdgpu.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h +index 57a8614f715d..af882c6f445a 100644 +--- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h ++++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h +@@ -809,6 +809,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; +-- +2.17.1 + |