diff options
author | Tomas Winkler <tomas.winkler@intel.com> | 2018-03-10 18:15:45 +0300 |
---|---|---|
committer | Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> | 2018-03-23 11:18:06 +0300 |
commit | 076d356460273e3c702f46fc87471b508fb55e7b (patch) | |
tree | b19fca82f9222da0cd5bb0a30851563fe60a27c2 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
parent | 09b17f321c15879833bbe072cf28e3f0625d3fb7 (diff) | |
download | linux-076d356460273e3c702f46fc87471b508fb55e7b.tar.xz |
tpm2: add longer timeouts for creation commands.
TPM2_CC_Create(0x153) and TPM2_CC_CreatePrimary (0x131) involve generation
of crypto keys which can be a computationally intensive task. The timeout
is set to 3min. Rather than increasing default timeout a new constant is
added, to not stall for too long on regular commands failures.
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Tested-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions