summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdkfd/kfd_priv.h
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2020-09-23 09:37:39 -0400
committerAlex Deucher <alexander.deucher@amd.com>2020-09-25 16:55:16 -0400
commit9b498efae29f86d53fbd44845324f0f0faae5ff2 (patch)
tree7b0d7b98fb8f99e75c37a49e20ec05d77f92353b /drivers/gpu/drm/amd/amdkfd/kfd_priv.h
parent2fbb84ff160cb9418d5768b5d9422baadcb6cbf8 (diff)
drm/amdgpu: store noretry parameter per driver instance
This will allow us to have different defaults per asic in a future patch. Reviewed-by: Christian König <christian.koenig@amd.com> Reviewed-by: Luben Tuikov <luben.tuikov@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdkfd/kfd_priv.h')
-rw-r--r--drivers/gpu/drm/amd/amdkfd/kfd_priv.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_priv.h b/drivers/gpu/drm/amd/amdkfd/kfd_priv.h
index 739db04080d0..56f92cfff591 100644
--- a/drivers/gpu/drm/amd/amdkfd/kfd_priv.h
+++ b/drivers/gpu/drm/amd/amdkfd/kfd_priv.h
@@ -317,6 +317,8 @@ struct kfd_dev {
struct ida doorbell_ida;
unsigned int max_doorbell_slices;
+
+ int noretry;
};
enum kfd_mempool {