Home
last modified time | relevance | path

Searched refs:reset_ctl (Results 1 – 5 of 5) sorted by relevance

/Linux-v6.1/drivers/gpu/drm/amd/amdgpu/
Dsienna_cichlid.c34 static bool sienna_cichlid_is_mode2_default(struct amdgpu_reset_control *reset_ctl) in sienna_cichlid_is_mode2_default() argument
37 struct amdgpu_device *adev = (struct amdgpu_device *)reset_ctl->handle; in sienna_cichlid_is_mode2_default()
47 sienna_cichlid_get_reset_handler(struct amdgpu_reset_control *reset_ctl, in sienna_cichlid_get_reset_handler() argument
53 list_for_each_entry(handler, &reset_ctl->reset_handlers, in sienna_cichlid_get_reset_handler()
60 if (sienna_cichlid_is_mode2_default(reset_ctl)) { in sienna_cichlid_get_reset_handler()
61 list_for_each_entry (handler, &reset_ctl->reset_handlers, in sienna_cichlid_get_reset_handler()
100 sienna_cichlid_mode2_prepare_hwcontext(struct amdgpu_reset_control *reset_ctl, in sienna_cichlid_mode2_prepare_hwcontext() argument
104 struct amdgpu_device *adev = (struct amdgpu_device *)reset_ctl->handle; in sienna_cichlid_mode2_prepare_hwcontext()
120 struct amdgpu_reset_control *reset_ctl = in sienna_cichlid_async_reset() local
122 struct amdgpu_device *adev = (struct amdgpu_device *)reset_ctl->handle; in sienna_cichlid_async_reset()
[all …]
Daldebaran.c34 static bool aldebaran_is_mode2_default(struct amdgpu_reset_control *reset_ctl) in aldebaran_is_mode2_default() argument
36 struct amdgpu_device *adev = (struct amdgpu_device *)reset_ctl->handle; in aldebaran_is_mode2_default()
46 aldebaran_get_reset_handler(struct amdgpu_reset_control *reset_ctl, in aldebaran_get_reset_handler() argument
50 struct amdgpu_device *adev = (struct amdgpu_device *)reset_ctl->handle; in aldebaran_get_reset_handler()
55 list_for_each_entry(handler, &reset_ctl->reset_handlers, in aldebaran_get_reset_handler()
62 if (aldebaran_is_mode2_default(reset_ctl)) { in aldebaran_get_reset_handler()
63 list_for_each_entry(handler, &reset_ctl->reset_handlers, in aldebaran_get_reset_handler()
107 aldebaran_mode2_prepare_hwcontext(struct amdgpu_reset_control *reset_ctl, in aldebaran_mode2_prepare_hwcontext() argument
111 struct amdgpu_device *adev = (struct amdgpu_device *)reset_ctl->handle; in aldebaran_mode2_prepare_hwcontext()
124 struct amdgpu_reset_control *reset_ctl = in aldebaran_async_reset() local
[all …]
Damdgpu_reset.h48 int (*prepare_env)(struct amdgpu_reset_control *reset_ctl,
50 int (*prepare_hwcontext)(struct amdgpu_reset_control *reset_ctl,
52 int (*perform_reset)(struct amdgpu_reset_control *reset_ctl,
54 int (*restore_hwcontext)(struct amdgpu_reset_control *reset_ctl,
56 int (*restore_env)(struct amdgpu_reset_control *reset_ctl,
70 struct amdgpu_reset_control *reset_ctl,
100 int amdgpu_reset_add_handler(struct amdgpu_reset_control *reset_ctl,
Damdgpu_reset.c28 int amdgpu_reset_add_handler(struct amdgpu_reset_control *reset_ctl, in amdgpu_reset_add_handler() argument
32 list_add_tail(&handler->handler_list, &reset_ctl->reset_handlers); in amdgpu_reset_add_handler()
/Linux-v6.1/drivers/gpu/drm/mediatek/
Dmtk_disp_merge.c71 struct reset_control *reset_ctl; member
108 reset_control_reset(priv->reset_ctl); in mtk_merge_stop_cmdq()
273 priv->reset_ctl = devm_reset_control_get_optional_exclusive(dev, NULL); in mtk_disp_merge_probe()
274 if (IS_ERR(priv->reset_ctl)) in mtk_disp_merge_probe()
275 return PTR_ERR(priv->reset_ctl); in mtk_disp_merge_probe()