Lines Matching refs:reset_context
36 struct amdgpu_reset_context *reset_context) in aldebaran_get_reset_handler() argument
41 if (reset_context->method != AMD_RESET_METHOD_NONE) { in aldebaran_get_reset_handler()
43 reset_context->method); in aldebaran_get_reset_handler()
46 if (handler->reset_method == reset_context->method) in aldebaran_get_reset_handler()
55 reset_context->method = AMD_RESET_METHOD_MODE2; in aldebaran_get_reset_handler()
97 struct amdgpu_reset_context *reset_context) in aldebaran_mode2_prepare_hwcontext() argument
137 struct amdgpu_reset_context *reset_context) in aldebaran_mode2_perform_reset() argument
144 if (reset_context->hive == NULL) { in aldebaran_mode2_perform_reset()
149 list_for_each_entry(tmp_adev, &reset_context->hive->device_list, in aldebaran_mode2_perform_reset()
158 list_for_each_entry(tmp_adev, &reset_context->hive->device_list, in aldebaran_mode2_perform_reset()
178 &reset_context->hive->device_list, in aldebaran_mode2_perform_reset()
189 list_for_each_entry(tmp_adev, &reset_context->hive->device_list, in aldebaran_mode2_perform_reset()
320 struct amdgpu_reset_context *reset_context) in aldebaran_mode2_restore_hwcontext() argument
325 if (reset_context->hive == NULL) { in aldebaran_mode2_restore_hwcontext()
330 list_for_each_entry(tmp_adev, &reset_context->hive->device_list, in aldebaran_mode2_restore_hwcontext()
348 if (reset_context->hive && in aldebaran_mode2_restore_hwcontext()
350 r = amdgpu_xgmi_update_topology(reset_context->hive, in aldebaran_mode2_restore_hwcontext()