mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-25 02:52:51 +03:00
gpu: nvgpu: rename recovery capability
Rename "recovery" capability to more specific "fault recovery": - NVGPU_SUPPORT_FAULT_RECOVERY in UAPI - NVGPU_GPU_FLAGS_SUPPORT_FAULT_RECOVERY in enabled flags. Jira NVGPU-3896 Change-Id: I2a60601a7c73ce15e08b65f377e8a27a526d5eb2 Signed-off-by: Thomas Fleury <tfleury@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2197427 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: svc-mobile-misra <svc-mobile-misra@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Sami Kiminki <skiminki@nvidia.com> Reviewed-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
Alex Waterman
parent
f8a2c53476
commit
62d7c5641f
@@ -250,9 +250,9 @@ int nvgpu_finalize_poweron(struct gk20a *g)
|
||||
g->power_on = true;
|
||||
|
||||
#ifdef CONFIG_NVGPU_RECOVERY
|
||||
nvgpu_set_enabled(g, NVGPU_SUPPORT_RECOVERY, true);
|
||||
nvgpu_set_enabled(g, NVGPU_SUPPORT_FAULT_RECOVERY, true);
|
||||
#else
|
||||
nvgpu_set_enabled(g, NVGPU_SUPPORT_RECOVERY, false);
|
||||
nvgpu_set_enabled(g, NVGPU_SUPPORT_FAULT_RECOVERY, false);
|
||||
err = nvgpu_sw_quiesce_init_support(g);
|
||||
if (err != 0) {
|
||||
nvgpu_err(g, "failed to init sw-quiesce support");
|
||||
|
||||
Reference in New Issue
Block a user