Home
last modified time | relevance | path

Searched refs:gamut_remap_matrix (Results 1 – 8 of 8) sorted by relevance

/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_color.c444 /* gamut_remap_matrix[i] = ctm[i - floor(i/4)] */ in __drm_ctm_to_dc_matrix()
466 /* gamut_remap_matrix[i] = ctm[i - floor(i/4)] */ in __drm_ctm_3x4_to_dc_matrix()
998 __drm_ctm_to_dc_matrix(ctm, stream->gamut_remap_matrix.matrix); in amdgpu_dm_update_crtc_color_mgmt()
1000 stream->gamut_remap_matrix.enable_remap = true; in amdgpu_dm_update_crtc_color_mgmt()
1004 stream->gamut_remap_matrix.enable_remap = false; in amdgpu_dm_update_crtc_color_mgmt()
1276 __drm_ctm_3x4_to_dc_matrix(ctm, dc_plane_state->gamut_remap_matrix.matrix); in amdgpu_dm_update_plane_color_mgmt()
1278 dc_plane_state->gamut_remap_matrix.enable_remap = true; in amdgpu_dm_update_plane_color_mgmt()
1282 dc_plane_state->gamut_remap_matrix.enable_remap = false; in amdgpu_dm_update_plane_color_mgmt()
H A Damdgpu_dm.c9397 bundle->surface_updates[planes_count].gamut_remap_matrix = &dc_plane->gamut_remap_matrix; in amdgpu_dm_commit_planes()
9608 &acrtc_state->stream->gamut_remap_matrix; in amdgpu_dm_commit_planes()
/linux/drivers/gpu/drm/amd/display/dc/hwss/dce60/
H A Ddce60_hwseq.c302 if (pipe_ctx->stream->gamut_remap_matrix.enable_remap == true) { in dce60_program_front_end_for_pipe()
307 pipe_ctx->stream->gamut_remap_matrix.matrix[i]; in dce60_program_front_end_for_pipe()
/linux/drivers/gpu/drm/amd/display/dc/
H A Ddc_stream.h217 struct colorspace_transform gamut_remap_matrix; member
/linux/drivers/gpu/drm/amd/display/dc/core/
H A Ddc.c2803 if (u->gamut_remap_matrix) in det_surface_update()
3179 if (srf_update->gamut_remap_matrix) in copy_surface_update_to_plane()
3180 surface->gamut_remap_matrix = in copy_surface_update_to_plane()
3181 *srf_update->gamut_remap_matrix; in copy_surface_update_to_plane()
3229 stream->gamut_remap_matrix = *update->gamut_remap; in copy_stream_update_to_stream()
4956 fast_update[i].gamut_remap_matrix = srf_updates[i].gamut_remap_matrix; in populate_fast_updates()
4974 fast_update[i].gamut_remap_matrix || in fast_updates_exist()
4995 fast_update[i].gamut_remap_matrix || in fast_nonaddr_updates_exist()
/linux/drivers/gpu/drm/amd/display/dc/hwss/dce110/
H A Ddce110_hwseq.c2621 if (pipe_ctx->stream->gamut_remap_matrix.enable_remap == true) { in program_gamut_remap()
2626 pipe_ctx->stream->gamut_remap_matrix.matrix[i]; in program_gamut_remap()
2940 if (pipe_ctx->stream->gamut_remap_matrix.enable_remap == true) { in dce110_program_front_end_for_pipe()
2945 pipe_ctx->stream->gamut_remap_matrix.matrix[i]; in dce110_program_front_end_for_pipe()
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn401/
H A Ddcn401_hwseq.c100 pipe_ctx->plane_state->gamut_remap_matrix.enable_remap == true) { in dcn401_program_gamut_remap()
104 pipe_ctx->plane_state->gamut_remap_matrix.matrix[i]; in dcn401_program_gamut_remap()
121 if (pipe_ctx->stream->gamut_remap_matrix.enable_remap == true) { in dcn401_program_gamut_remap()
125 pipe_ctx->stream->gamut_remap_matrix.matrix[i]; in dcn401_program_gamut_remap()
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn10/
H A Ddcn10_hwseq.c2742 if (pipe_ctx->stream->gamut_remap_matrix.enable_remap == true) { in dcn10_program_gamut_remap()
2746 pipe_ctx->stream->gamut_remap_matrix.matrix[i]; in dcn10_program_gamut_remap()
2748 pipe_ctx->plane_state->gamut_remap_matrix.enable_remap == true) { in dcn10_program_gamut_remap()
2752 pipe_ctx->plane_state->gamut_remap_matrix.matrix[i]; in dcn10_program_gamut_remap()