Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/gpu/drm/amd/display/dc/core/
Ddc_surface.c42 plane_state->gamma_correction = dc_create_gamma(); in dc_plane_construct()
43 if (plane_state->gamma_correction != NULL) in dc_plane_construct()
44 plane_state->gamma_correction->is_identity = true; in dc_plane_construct()
68 if (plane_state->gamma_correction != NULL) { in dc_plane_destruct()
69 dc_gamma_release(&plane_state->gamma_correction); in dc_plane_destruct()
Ddc.c2827 (surface->gamma_correction != in copy_surface_update_to_plane()
2829 memcpy(&surface->gamma_correction->entries, in copy_surface_update_to_plane()
2832 surface->gamma_correction->is_identity = in copy_surface_update_to_plane()
2834 surface->gamma_correction->num_entries = in copy_surface_update_to_plane()
2836 surface->gamma_correction->type = in copy_surface_update_to_plane()
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_hw_sequencer.c295 if (plane_state->gamma_correction && in dce110_set_input_transfer_func()
296 !plane_state->gamma_correction->is_identity && in dce110_set_input_transfer_func()
298 ipp->funcs->ipp_program_input_lut(ipp, plane_state->gamma_correction); in dce110_set_input_transfer_func()
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/
Ddc.h1203 struct dc_gamma *gamma_correction; member
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_hw_sequencer.c1758 if (plane_state->gamma_correction && in dcn10_set_input_transfer_func()
1760 && !plane_state->gamma_correction->is_identity in dcn10_set_input_transfer_func()
1762 dpp_base->funcs->dpp_program_input_lut(dpp_base, plane_state->gamma_correction); in dcn10_set_input_transfer_func()
/Linux-v6.6/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm.c8114 bundle->surface_updates[planes_count].gamma = dc_plane->gamma_correction; in amdgpu_dm_commit_planes()