Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_crc.c89 struct amdgpu_crtc *acrtc = to_amdgpu_crtc(crtc); in amdgpu_dm_set_crc_window_default() local
92 acrtc->dm_irq_params.crc_window.x_start = 0; in amdgpu_dm_set_crc_window_default()
93 acrtc->dm_irq_params.crc_window.y_start = 0; in amdgpu_dm_set_crc_window_default()
94 acrtc->dm_irq_params.crc_window.x_end = 0; in amdgpu_dm_set_crc_window_default()
95 acrtc->dm_irq_params.crc_window.y_end = 0; in amdgpu_dm_set_crc_window_default()
96 acrtc->dm_irq_params.crc_window.activated = false; in amdgpu_dm_set_crc_window_default()
97 acrtc->dm_irq_params.crc_window.update_win = false; in amdgpu_dm_set_crc_window_default()
98 acrtc->dm_irq_params.crc_window.skip_frame_cnt = 0; in amdgpu_dm_set_crc_window_default()
141 struct amdgpu_crtc *acrtc = to_amdgpu_crtc(crtc); in amdgpu_dm_crc_window_is_activated() local
145 ret = acrtc->dm_irq_params.crc_window.activated; in amdgpu_dm_crc_window_is_activated()
[all …]
Damdgpu_dm.c239 struct amdgpu_crtc *acrtc = adev->mode_info.crtcs[crtc]; in dm_vblank_get_counter() local
241 if (acrtc->dm_irq_params.stream == NULL) { in dm_vblank_get_counter()
247 return dc_stream_get_vblank_counter(acrtc->dm_irq_params.stream); in dm_vblank_get_counter()
259 struct amdgpu_crtc *acrtc = adev->mode_info.crtcs[crtc]; in dm_crtc_get_scanoutpos() local
261 if (acrtc->dm_irq_params.stream == NULL) { in dm_crtc_get_scanoutpos()
271 dc_stream_get_scanoutpos(acrtc->dm_irq_params.stream, in dm_crtc_get_scanoutpos()
328 static inline bool amdgpu_dm_vrr_active_irq(struct amdgpu_crtc *acrtc) in amdgpu_dm_vrr_active_irq() argument
330 return acrtc->dm_irq_params.freesync_config.state == in amdgpu_dm_vrr_active_irq()
332 acrtc->dm_irq_params.freesync_config.state == in amdgpu_dm_vrr_active_irq()
461 struct amdgpu_crtc *acrtc; in dm_vupdate_high_irq() local
[all …]
Damdgpu_dm_debugfs.c2762 struct amdgpu_crtc *acrtc = to_amdgpu_crtc(crtc); in crc_win_x_start_set() local
2765 acrtc->dm_irq_params.crc_window.x_start = (uint16_t) val; in crc_win_x_start_set()
2766 acrtc->dm_irq_params.crc_window.update_win = false; in crc_win_x_start_set()
2779 struct amdgpu_crtc *acrtc = to_amdgpu_crtc(crtc); in crc_win_x_start_get() local
2782 *val = acrtc->dm_irq_params.crc_window.x_start; in crc_win_x_start_get()
2799 struct amdgpu_crtc *acrtc = to_amdgpu_crtc(crtc); in crc_win_y_start_set() local
2802 acrtc->dm_irq_params.crc_window.y_start = (uint16_t) val; in crc_win_y_start_set()
2803 acrtc->dm_irq_params.crc_window.update_win = false; in crc_win_y_start_set()
2816 struct amdgpu_crtc *acrtc = to_amdgpu_crtc(crtc); in crc_win_y_start_get() local
2819 *val = acrtc->dm_irq_params.crc_window.y_start; in crc_win_y_start_get()
[all …]
Damdgpu_dm_irq.c709 struct amdgpu_crtc *acrtc = adev->mode_info.crtcs[crtc_id]; in dm_irq_state() local
711 if (!acrtc) { in dm_irq_state()
719 if (acrtc->otg_inst == -1) in dm_irq_state()
722 irq_source = dal_irq_type + acrtc->otg_inst; in dm_irq_state()
Damdgpu_dm.h100 struct amdgpu_crtc *acrtc; member
Damdgpu_dm_mst_types.c298 struct amdgpu_crtc *acrtc = to_amdgpu_crtc(connector_state->crtc); in dm_mst_atomic_best_encoder() local
300 return &adev->dm.mst_encoders[acrtc->crtc_id].base; in dm_mst_atomic_best_encoder()