Searched refs:dm_state (Results 1 – 5 of 5) sorted by relevance
2642 struct dm_atomic_state *dm_state = to_dm_atomic_state(dm->atomic_obj.state); in dm_resume() local2705 dc_release_state(dm_state->context); in dm_resume()2706 dm_state->context = dc_create_state(dm->dc); in dm_resume()2708 dc_resource_state_construct(dm->dc, dm_state->context); in dm_resume()3763 struct dm_atomic_state **dm_state) in dm_atomic_get_state() argument3770 if (*dm_state) in dm_atomic_get_state()3777 *dm_state = to_dm_atomic_state(priv_state); in dm_atomic_get_state()3827 struct dm_atomic_state *dm_state = to_dm_atomic_state(state); in dm_atomic_destroy_state() local3829 if (dm_state && dm_state->context) in dm_atomic_destroy_state()3830 dc_release_state(dm_state->context); in dm_atomic_destroy_state()[all …]
40 bool amdgpu_dm_vrr_active(struct dm_crtc_state *dm_state);
89 bool amdgpu_dm_vrr_active(struct dm_crtc_state *dm_state) in amdgpu_dm_vrr_active() argument91 return dm_state->freesync_config.state == VRR_STATE_ACTIVE_VARIABLE || in amdgpu_dm_vrr_active()92 dm_state->freesync_config.state == VRR_STATE_ACTIVE_FIXED; in amdgpu_dm_vrr_active()
1225 struct dm_crtc_state *dm_state = to_dm_crtc_state(new_state); in find_crtc_index_in_state_by_stream() local1227 if (dm_state->stream == stream) in find_crtc_index_in_state_by_stream()1274 struct dm_atomic_state *dm_state; in pre_validate_dsc() local1287 dm_state = *dm_state_ptr; in pre_validate_dsc()1295 local_dc_state = kmemdup(dm_state->context, sizeof(struct dc_state), GFP_KERNEL); in pre_validate_dsc()1300 struct dc_stream_state *stream = dm_state->context->streams[i]; in pre_validate_dsc()1344 struct dc_stream_state *stream = dm_state->context->streams[i]; in pre_validate_dsc()1358 struct dc_stream_state *stream = dm_state->context->streams[i]; in pre_validate_dsc()
804 const struct dm_connector_state *dm_state,808 struct dm_atomic_state **dm_state);