Home
last modified time | relevance | path

Searched refs:dm_crtc_state (Results 1 – 10 of 10) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_crtc.c89 bool amdgpu_dm_vrr_active(struct dm_crtc_state *dm_state) in amdgpu_dm_vrr_active()
147 struct dm_crtc_state *acrtc_state = to_dm_crtc_state(crtc->state); in dm_set_vblank()
206 struct dm_crtc_state *cur = to_dm_crtc_state(state); in dm_crtc_destroy_state()
221 struct dm_crtc_state *state, *cur; in dm_crtc_duplicate_state()
261 struct dm_crtc_state *state; in dm_crtc_reset_state()
341 struct dm_crtc_state *dm_new_crtc_state = in dm_update_crtc_active_planes()
367 struct dm_crtc_state *dm_crtc_state = to_dm_crtc_state(crtc_state); in dm_crtc_helper_atomic_check() local
374 if (WARN_ON(unlikely(!dm_crtc_state->stream && in dm_crtc_helper_atomic_check()
375 modeset_required(crtc_state, NULL, dm_crtc_state->stream)))) { in dm_crtc_helper_atomic_check()
392 if (!dm_crtc_state->stream) in dm_crtc_helper_atomic_check()
[all …]
Damdgpu_dm_crc.h30 struct dm_crtc_state;
74 struct dm_crtc_state *dm_crtc_state,
Damdgpu_dm_crc.c169 struct dm_crtc_state *dm_crtc_state, in amdgpu_dm_crtc_configure_crc_source() argument
173 struct dc_stream_state *stream_state = dm_crtc_state->stream; in amdgpu_dm_crtc_configure_crc_source()
192 dm_crtc_state->stream); in amdgpu_dm_crtc_configure_crc_source()
229 struct dm_crtc_state *crtc_state; in amdgpu_dm_crtc_set_crc_source()
389 struct dm_crtc_state *crtc_state; in amdgpu_dm_crtc_handle_crc_irq()
Damdgpu_dm.h664 struct dm_crtc_state { struct
688 #define to_dm_crtc_state(x) container_of(x, struct dm_crtc_state, base) argument
786 int amdgpu_dm_update_crtc_color_mgmt(struct dm_crtc_state *crtc);
787 int amdgpu_dm_update_plane_color_mgmt(struct dm_crtc_state *crtc,
Damdgpu_dm_debugfs.c888 struct dm_crtc_state *dm_crtc_state = NULL; in amdgpu_current_bpc_show() local
897 dm_crtc_state = to_dm_crtc_state(crtc->state); in amdgpu_current_bpc_show()
898 if (dm_crtc_state->stream == NULL) in amdgpu_current_bpc_show()
901 switch (dm_crtc_state->stream->timing.display_color_depth) { in amdgpu_current_bpc_show()
1047 struct dm_crtc_state *acrtc_state; in dp_sdp_message_debugfs_write()
1443 struct dm_crtc_state *dm_crtc_state = NULL; in dp_dsc_clock_en_write() local
1501 dm_crtc_state = to_dm_crtc_state(crtc->state); in dp_dsc_clock_en_write()
1502 if (dm_crtc_state->stream == NULL) in dp_dsc_clock_en_write()
1512 dm_crtc_state->dsc_force_changed = true; in dp_dsc_clock_en_write()
1633 struct dm_crtc_state *dm_crtc_state = NULL; in dp_dsc_slice_width_write() local
[all …]
Damdgpu_dm_crtc.h40 bool amdgpu_dm_vrr_active(struct dm_crtc_state *dm_state);
Damdgpu_dm_mst_types.c1225 struct dm_crtc_state *dm_state = to_dm_crtc_state(new_state); in find_crtc_index_in_state_by_stream()
1256 struct dm_crtc_state *dm_crtc_state = to_dm_crtc_state(new_crtc_state); in is_dsc_precompute_needed() local
1262 if (dm_crtc_state->stream && dm_crtc_state->stream->link) in is_dsc_precompute_needed()
1263 if (is_link_to_dschub(dm_crtc_state->stream->link)) in is_dsc_precompute_needed()
1307 struct dm_crtc_state *dm_old_crtc_state; in pre_validate_dsc()
Damdgpu_dm_color.c395 int amdgpu_dm_update_crtc_color_mgmt(struct dm_crtc_state *crtc) in amdgpu_dm_update_crtc_color_mgmt()
510 int amdgpu_dm_update_plane_color_mgmt(struct dm_crtc_state *crtc, in amdgpu_dm_update_plane_color_mgmt()
Damdgpu_dm.c348 static inline bool is_dc_timing_adjust_needed(struct dm_crtc_state *old_state, in is_dc_timing_adjust_needed()
349 struct dm_crtc_state *new_state) in is_dc_timing_adjust_needed()
2638 struct dm_crtc_state *dm_new_crtc_state; in dm_resume()
4827 struct dm_crtc_state *dm_crtc_state = to_dm_crtc_state(crtc_state); in fill_dc_plane_attributes() local
4874 ret = amdgpu_dm_update_plane_color_mgmt(dm_crtc_state, dc_plane_state); in fill_dc_plane_attributes()
4912 struct dm_crtc_state *dm_crtc_state = to_dm_crtc_state(crtc_state); in fill_dc_dirty_rects() local
4932 if (!dm_crtc_state->mpo_requested) { in fill_dc_dirty_rects()
4935 dirty_rects[0].width = dm_crtc_state->base.mode.crtc_hdisplay; in fill_dc_dirty_rects()
4936 dirty_rects[0].height = dm_crtc_state->base.mode.crtc_vdisplay; in fill_dc_dirty_rects()
4940 dm_crtc_state->base.mode.crtc_hdisplay, in fill_dc_dirty_rects()
[all …]
Damdgpu_dm_plane.c1229 struct dm_crtc_state *crtc_state = crtc ? to_dm_crtc_state(crtc->state) : NULL; in handle_cursor_update()