Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A 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 …]
H A 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 …]
H A 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);
H A Damdgpu_dm_debugfs.c3457 struct amdgpu_crtc *acrtc = to_amdgpu_crtc(crtc); in crc_win_x_start_set() local
3460 acrtc->dm_irq_params.window_param.x_start = (uint16_t) val; in crc_win_x_start_set()
3461 acrtc->dm_irq_params.window_param.update_win = false; in crc_win_x_start_set()
3474 struct amdgpu_crtc *acrtc = to_amdgpu_crtc(crtc); in crc_win_x_start_get() local
3477 *val = acrtc->dm_irq_params.window_param.x_start; in crc_win_x_start_get()
3494 struct amdgpu_crtc *acrtc = to_amdgpu_crtc(crtc); in crc_win_y_start_set() local
3497 acrtc->dm_irq_params.window_param.y_start = (uint16_t) val; in crc_win_y_start_set()
3498 acrtc->dm_irq_params.window_param.update_win = false; in crc_win_y_start_set()
3511 struct amdgpu_crtc *acrtc = to_amdgpu_crtc(crtc); in crc_win_y_start_get() local
3514 *val = acrtc->dm_irq_params.window_param.y_start; in crc_win_y_start_get()
[all …]
H A 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()
H A Damdgpu_dm.h135 struct amdgpu_crtc *acrtc; member
H A Damdgpu_dm_mst_types.c441 struct amdgpu_crtc *acrtc = to_amdgpu_crtc(connector_state->crtc); in dm_mst_atomic_best_encoder() local
443 return &adev->dm.mst_encoders[acrtc->crtc_id].base; in dm_mst_atomic_best_encoder()