summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorTomas Winkler <tomas.winkler@intel.com>2018-03-10 18:15:45 +0300
committerJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>2018-03-23 11:18:06 +0300
commit076d356460273e3c702f46fc87471b508fb55e7b (patch)
treeb19fca82f9222da0cd5bb0a30851563fe60a27c2 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parent09b17f321c15879833bbe072cf28e3f0625d3fb7 (diff)
downloadlinux-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