Home
last modified time | relevance | path

Searched refs:acrtc (Results 1 – 8 of 8) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_crc.c90 struct amdgpu_crtc *acrtc = to_amdgpu_crtc(crtc); in amdgpu_dm_set_crc_window_default() local
94 was_activated = acrtc->dm_irq_params.window_param.activated; in amdgpu_dm_set_crc_window_default()
95 acrtc->dm_irq_params.window_param.x_start = 0; in amdgpu_dm_set_crc_window_default()
96 acrtc->dm_irq_params.window_param.y_start = 0; in amdgpu_dm_set_crc_window_default()
97 acrtc->dm_irq_params.window_param.x_end = 0; in amdgpu_dm_set_crc_window_default()
98 acrtc->dm_irq_params.window_param.y_end = 0; in amdgpu_dm_set_crc_window_default()
99 acrtc->dm_irq_params.window_param.activated = false; in amdgpu_dm_set_crc_window_default()
100 acrtc->dm_irq_params.window_param.update_win = false; in amdgpu_dm_set_crc_window_default()
101 acrtc->dm_irq_params.window_param.skip_frame_cnt = 0; in amdgpu_dm_set_crc_window_default()
185 struct amdgpu_crtc *acrtc = to_amdgpu_crtc(crtc); in amdgpu_dm_crc_window_is_activated() local
[all …]
Damdgpu_dm_crtc.c41 void amdgpu_dm_crtc_handle_vblank(struct amdgpu_crtc *acrtc) in amdgpu_dm_crtc_handle_vblank() argument
43 struct drm_crtc *crtc = &acrtc->base; in amdgpu_dm_crtc_handle_vblank()
52 if (acrtc->event && acrtc->pflip_status != AMDGPU_FLIP_SUBMITTED) { in amdgpu_dm_crtc_handle_vblank()
53 drm_crtc_send_vblank_event(crtc, acrtc->event); in amdgpu_dm_crtc_handle_vblank()
55 acrtc->event = NULL; in amdgpu_dm_crtc_handle_vblank()
68 bool amdgpu_dm_crtc_vrr_active_irq(struct amdgpu_crtc *acrtc) in amdgpu_dm_crtc_vrr_active_irq() argument
71 return acrtc->dm_irq_params.freesync_config.state == in amdgpu_dm_crtc_vrr_active_irq()
73 acrtc->dm_irq_params.freesync_config.state == in amdgpu_dm_crtc_vrr_active_irq()
80 struct amdgpu_crtc *acrtc = to_amdgpu_crtc(crtc); in amdgpu_dm_crtc_set_vupdate_irq() local
84 if (acrtc->otg_inst == -1) in amdgpu_dm_crtc_set_vupdate_irq()
[all …]
Damdgpu_dm.c264 struct amdgpu_crtc *acrtc = NULL; in dm_vblank_get_counter() local
269 acrtc = adev->mode_info.crtcs[crtc]; in dm_vblank_get_counter()
271 if (!acrtc->dm_irq_params.stream) { in dm_vblank_get_counter()
277 return dc_stream_get_vblank_counter(acrtc->dm_irq_params.stream); in dm_vblank_get_counter()
284 struct amdgpu_crtc *acrtc = NULL; in dm_crtc_get_scanoutpos() local
290 acrtc = adev->mode_info.crtcs[crtc]; in dm_crtc_get_scanoutpos()
292 if (!acrtc->dm_irq_params.stream) { in dm_crtc_get_scanoutpos()
305 dc_stream_get_scanoutpos(acrtc->dm_irq_params.stream, in dm_crtc_get_scanoutpos()
534 struct amdgpu_crtc *acrtc; in dm_vupdate_high_irq() local
541 acrtc = get_crtc_by_otg_inst(adev, irq_params->irq_src - IRQ_TYPE_VUPDATE); in dm_vupdate_high_irq()
[all …]
Damdgpu_dm_crtc.h30 void amdgpu_dm_crtc_handle_vblank(struct amdgpu_crtc *acrtc);
38 bool amdgpu_dm_crtc_vrr_active_irq(struct amdgpu_crtc *acrtc);
Damdgpu_dm_debugfs.c3489 struct amdgpu_crtc *acrtc = to_amdgpu_crtc(crtc); in crc_win_x_start_set() local
3492 acrtc->dm_irq_params.window_param.x_start = (uint16_t) val; in crc_win_x_start_set()
3493 acrtc->dm_irq_params.window_param.update_win = false; in crc_win_x_start_set()
3506 struct amdgpu_crtc *acrtc = to_amdgpu_crtc(crtc); in crc_win_x_start_get() local
3509 *val = acrtc->dm_irq_params.window_param.x_start; in crc_win_x_start_get()
3526 struct amdgpu_crtc *acrtc = to_amdgpu_crtc(crtc); in crc_win_y_start_set() local
3529 acrtc->dm_irq_params.window_param.y_start = (uint16_t) val; in crc_win_y_start_set()
3530 acrtc->dm_irq_params.window_param.update_win = false; in crc_win_y_start_set()
3543 struct amdgpu_crtc *acrtc = to_amdgpu_crtc(crtc); in crc_win_y_start_get() local
3546 *val = acrtc->dm_irq_params.window_param.y_start; in crc_win_y_start_get()
[all …]
Damdgpu_dm_irq.c715 struct amdgpu_crtc *acrtc = adev->mode_info.crtcs[crtc_id]; in dm_irq_state() local
717 if (!acrtc) { in dm_irq_state()
725 if (acrtc->otg_inst == -1) in dm_irq_state()
728 irq_source = dal_irq_type + acrtc->otg_inst; in dm_irq_state()
Damdgpu_dm.h135 struct amdgpu_crtc *acrtc; member
Damdgpu_dm_mst_types.c437 struct amdgpu_crtc *acrtc = to_amdgpu_crtc(connector_state->crtc); in dm_mst_atomic_best_encoder() local
439 return &adev->dm.mst_encoders[acrtc->crtc_id].base; in dm_mst_atomic_best_encoder()