Searched refs:reset_ctl (Results 1 – 5 of 5) sorted by relevance
/Linux-v6.1/drivers/gpu/drm/amd/amdgpu/ |
D | sienna_cichlid.c | 34 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 …]
|
D | aldebaran.c | 34 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 …]
|
D | amdgpu_reset.h | 48 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,
|
D | amdgpu_reset.c | 28 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/ |
D | mtk_disp_merge.c | 71 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()
|