Lines Matching refs:reset_context
47 struct amdgpu_reset_context *reset_context) in aldebaran_get_reset_handler() argument
53 if (reset_context->method == AMD_RESET_METHOD_NONE) { in aldebaran_get_reset_handler()
55 reset_context->method = AMD_RESET_METHOD_MODE2; in aldebaran_get_reset_handler()
57 reset_context->method = amdgpu_asic_reset_method(adev); in aldebaran_get_reset_handler()
60 if (reset_context->method != AMD_RESET_METHOD_NONE) { in aldebaran_get_reset_handler()
62 reset_context->method); in aldebaran_get_reset_handler()
64 if (handler->reset_method == reset_context->method) in aldebaran_get_reset_handler()
105 struct amdgpu_reset_context *reset_context) in aldebaran_mode2_prepare_hwcontext() argument
145 struct amdgpu_reset_context *reset_context) in aldebaran_mode2_perform_reset() argument
148 struct list_head *reset_device_list = reset_context->reset_device_list; in aldebaran_mode2_perform_reset()
158 reset_context->hive == NULL) { in aldebaran_mode2_perform_reset()
327 struct amdgpu_reset_context *reset_context) in aldebaran_mode2_restore_hwcontext() argument
329 struct list_head *reset_device_list = reset_context->reset_device_list; in aldebaran_mode2_restore_hwcontext()
337 if (amdgpu_ip_version(reset_context->reset_req_dev, MP1_HWIP, 0) == in aldebaran_mode2_restore_hwcontext()
339 reset_context->hive == NULL) { in aldebaran_mode2_restore_hwcontext()
384 if (reset_context->hive && in aldebaran_mode2_restore_hwcontext()
386 r = amdgpu_xgmi_update_topology(reset_context->hive, in aldebaran_mode2_restore_hwcontext()