OSDN Git Service

drm/amdgpu: add field indicating if has PCIE atomics support
authorJack Xiao <Jack.Xiao@amd.com>
Wed, 29 May 2019 05:24:22 +0000 (13:24 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 1 Jul 2019 19:54:31 +0000 (14:54 -0500)
commitbae17d2a1b6a2f1d539c77a581bb6b88ce622851
treeb15e111f45b37a9b67b7ba57db6453a86e17f236
parent04796a3e44d4b09245706d04a79186957e9a951d
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>
drivers/gpu/drm/amd/amdgpu/amdgpu.h