Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/amd/display/dc/core/
H A 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()
H A Ddc.c2797 (surface->gamma_correction != in copy_surface_update_to_plane()
2799 memcpy(&surface->gamma_correction->entries, in copy_surface_update_to_plane()
2802 surface->gamma_correction->is_identity = in copy_surface_update_to_plane()
2804 surface->gamma_correction->num_entries = in copy_surface_update_to_plane()
2806 surface->gamma_correction->type = in copy_surface_update_to_plane()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce110/
H A 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()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/
H A Ddc.h1208 struct dc_gamma *gamma_correction; member
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn10/
H A Ddcn10_hw_sequencer.c1760 if (plane_state->gamma_correction && in dcn10_set_input_transfer_func()
1762 && !plane_state->gamma_correction->is_identity in dcn10_set_input_transfer_func()
1764 dpp_base->funcs->dpp_program_input_lut(dpp_base, plane_state->gamma_correction); in dcn10_set_input_transfer_func()
/openbmc/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm.c8145 bundle->surface_updates[planes_count].gamma = dc_plane->gamma_correction; in amdgpu_dm_commit_planes()