Home
last modified time | relevance | path

Searched refs:dm_state (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm.c2642 struct dm_atomic_state *dm_state = to_dm_atomic_state(dm->atomic_obj.state); in dm_resume() local
2705 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() argument
3770 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() local
3829 if (dm_state && dm_state->context) in dm_atomic_destroy_state()
3830 dc_release_state(dm_state->context); in dm_atomic_destroy_state()
[all …]
Damdgpu_dm_crtc.h40 bool amdgpu_dm_vrr_active(struct dm_crtc_state *dm_state);
Damdgpu_dm_crtc.c89 bool amdgpu_dm_vrr_active(struct dm_crtc_state *dm_state) in amdgpu_dm_vrr_active() argument
91 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()
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() local
1227 if (dm_state->stream == stream) in find_crtc_index_in_state_by_stream()
1274 struct dm_atomic_state *dm_state; in pre_validate_dsc() local
1287 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()
Damdgpu_dm.h804 const struct dm_connector_state *dm_state,
808 struct dm_atomic_state **dm_state);