diff options
author | Richard Zhao <rizhao@nvidia.com> | 2018-04-20 20:56:30 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-04-25 12:36:56 -0400 |
commit | d22d9d8caa06ae5ad2518c598f27869c06d0656d (patch) | |
tree | 49227db6fe5a2e42397ec3cf3925eff2571bd5ec /drivers/gpu/nvgpu/gm20b | |
parent | 3d0ddb8c4a735cc0c321ddef935f5c3eaad08660 (diff) |
gpu: nvgpu: gm20b: replace ETIME with ETIMEDOUT
ETIME does not exist on integrity.
Jira VQRM-2344
Change-Id: I4c9642c5ccf6d5d7ada456716589461b27b72c99
Signed-off-by: Richard Zhao <rizhao@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1699843
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b')
-rw-r--r-- | drivers/gpu/nvgpu/gm20b/fb_gm20b.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/fb_gm20b.c b/drivers/gpu/nvgpu/gm20b/fb_gm20b.c index 5404e3d1..5bc6d452 100644 --- a/drivers/gpu/nvgpu/gm20b/fb_gm20b.c +++ b/drivers/gpu/nvgpu/gm20b/fb_gm20b.c | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * GM20B GPC MMU | 2 | * GM20B GPC MMU |
3 | * | 3 | * |
4 | * Copyright (c) 2014-2017, NVIDIA CORPORATION. All rights reserved. | 4 | * Copyright (c) 2014-2018, NVIDIA CORPORATION. All rights reserved. |
5 | * | 5 | * |
6 | * Permission is hereby granted, free of charge, to any person obtaining a | 6 | * Permission is hereby granted, free of charge, to any person obtaining a |
7 | * copy of this software and associated documentation files (the "Software"), | 7 | * copy of this software and associated documentation files (the "Software"), |
@@ -129,7 +129,7 @@ static int gm20b_fb_vpr_info_fetch_wait(struct gk20a *g, | |||
129 | int gm20b_fb_vpr_info_fetch(struct gk20a *g) | 129 | int gm20b_fb_vpr_info_fetch(struct gk20a *g) |
130 | { | 130 | { |
131 | if (gm20b_fb_vpr_info_fetch_wait(g, VPR_INFO_FETCH_WAIT)) { | 131 | if (gm20b_fb_vpr_info_fetch_wait(g, VPR_INFO_FETCH_WAIT)) { |
132 | return -ETIME; | 132 | return -ETIMEDOUT; |
133 | } | 133 | } |
134 | 134 | ||
135 | gk20a_writel(g, fb_mmu_vpr_info_r(), | 135 | gk20a_writel(g, fb_mmu_vpr_info_r(), |