Home
last modified time | relevance | path

Searched refs:lut3d_func (Results 1 – 7 of 7) sorted by relevance

/Linux-v6.1/drivers/gpu/drm/amd/display/dc/core/
Ddc_surface.c55 plane_state->lut3d_func = dc_create_3dlut_func(); in dc_plane_construct()
81 if (plane_state->lut3d_func != NULL) { in dc_plane_destruct()
83 plane_state->lut3d_func); in dc_plane_destruct()
84 plane_state->lut3d_func = NULL; in dc_plane_destruct()
Ddc.c2384 if (u->lut3d_func || u->func_shaper) in det_surface_update()
2731 if (srf_update->lut3d_func && in copy_surface_update_to_plane()
2732 (surface->lut3d_func != in copy_surface_update_to_plane()
2733 srf_update->lut3d_func)) in copy_surface_update_to_plane()
2734 memcpy(surface->lut3d_func, srf_update->lut3d_func, in copy_surface_update_to_plane()
2735 sizeof(*surface->lut3d_func)); in copy_surface_update_to_plane()
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_hwseq.c117 if (stream->lut3d_func && in dcn30_set_mpc_shaper_3dlut()
118 stream->lut3d_func->state.bits.initialized == 1 && in dcn30_set_mpc_shaper_3dlut()
119 stream->lut3d_func->state.bits.rmu_idx_valid == 1) { in dcn30_set_mpc_shaper_3dlut()
120 if (stream->lut3d_func->state.bits.rmu_mux_num == 0) in dcn30_set_mpc_shaper_3dlut()
121 mpcc_id_projected = stream->lut3d_func->state.bits.mpc_rmu0_mux; in dcn30_set_mpc_shaper_3dlut()
122 else if (stream->lut3d_func->state.bits.rmu_mux_num == 1) in dcn30_set_mpc_shaper_3dlut()
123 mpcc_id_projected = stream->lut3d_func->state.bits.mpc_rmu1_mux; in dcn30_set_mpc_shaper_3dlut()
124 else if (stream->lut3d_func->state.bits.rmu_mux_num == 2) in dcn30_set_mpc_shaper_3dlut()
125 mpcc_id_projected = stream->lut3d_func->state.bits.mpc_rmu2_mux; in dcn30_set_mpc_shaper_3dlut()
130 stream->lut3d_func->state.bits.rmu_mux_num); in dcn30_set_mpc_shaper_3dlut()
[all …]
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/
Ddc_stream.h243 const struct dc_3dlut *lut3d_func; member
305 struct dc_3dlut *lut3d_func; member
Ddc.h1160 struct dc_3dlut *lut3d_func; member
1242 const struct dc_3dlut *lut3d_func; member
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/dcn32/
Ddcn32_hwseq.c537 if (stream->lut3d_func && in dcn32_set_mpc_shaper_3dlut()
538 stream->lut3d_func->state.bits.initialized == 1) { in dcn32_set_mpc_shaper_3dlut()
541 &stream->lut3d_func->lut_3d, in dcn32_set_mpc_shaper_3dlut()
591 if (plane_state->lut3d_func && plane_state->lut3d_func->state.bits.initialized == 1) in dcn32_set_mcm_luts()
592 result = mpc->funcs->program_3dlut(mpc, &plane_state->lut3d_func->lut_3d, mpcc_id); in dcn32_set_mcm_luts()
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_hwseq.c905 if (plane_state->lut3d_func && in dcn20_set_shaper_3dlut()
906 plane_state->lut3d_func->state.bits.initialized == 1) in dcn20_set_shaper_3dlut()
908 &plane_state->lut3d_func->lut_3d); in dcn20_set_shaper_3dlut()