Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/amd/display/dc/core/
H A 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()
H A Ddc.c2564 if (u->lut3d_func || u->func_shaper) in det_surface_update()
2830 if (srf_update->lut3d_func && in copy_surface_update_to_plane()
2831 (surface->lut3d_func != in copy_surface_update_to_plane()
2832 srf_update->lut3d_func)) in copy_surface_update_to_plane()
2833 memcpy(surface->lut3d_func, srf_update->lut3d_func, in copy_surface_update_to_plane()
2834 sizeof(*surface->lut3d_func)); in copy_surface_update_to_plane()
4209 srf_updates[i].lut3d_func || in full_update_required()
4242 stream_update->lut3d_func || in full_update_required()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn30/
H A Ddcn30_hwseq.c115 if (stream->lut3d_func && in dcn30_set_mpc_shaper_3dlut()
116 stream->lut3d_func->state.bits.initialized == 1 && in dcn30_set_mpc_shaper_3dlut()
117 stream->lut3d_func->state.bits.rmu_idx_valid == 1) { in dcn30_set_mpc_shaper_3dlut()
118 if (stream->lut3d_func->state.bits.rmu_mux_num == 0) in dcn30_set_mpc_shaper_3dlut()
119 mpcc_id_projected = stream->lut3d_func->state.bits.mpc_rmu0_mux; in dcn30_set_mpc_shaper_3dlut()
120 else if (stream->lut3d_func->state.bits.rmu_mux_num == 1) in dcn30_set_mpc_shaper_3dlut()
121 mpcc_id_projected = stream->lut3d_func->state.bits.mpc_rmu1_mux; in dcn30_set_mpc_shaper_3dlut()
122 else if (stream->lut3d_func->state.bits.rmu_mux_num == 2) in dcn30_set_mpc_shaper_3dlut()
123 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 …]
/openbmc/linux/drivers/gpu/drm/amd/display/dc/
H A Ddc_stream.h277 const struct dc_3dlut *lut3d_func; member
342 struct dc_3dlut *lut3d_func; member
H A Ddc.h1221 struct dc_3dlut *lut3d_func; member
1313 const struct dc_3dlut *lut3d_func; member
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn32/
H A Ddcn32_hwseq.c460 if (stream->lut3d_func && in dcn32_set_mpc_shaper_3dlut()
461 stream->lut3d_func->state.bits.initialized == 1) { in dcn32_set_mpc_shaper_3dlut()
464 &stream->lut3d_func->lut_3d, in dcn32_set_mpc_shaper_3dlut()
512 if (plane_state->lut3d_func && plane_state->lut3d_func->state.bits.initialized == 1) in dcn32_set_mcm_luts()
513 result = mpc->funcs->program_3dlut(mpc, &plane_state->lut3d_func->lut_3d, mpcc_id); in dcn32_set_mcm_luts()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn20/
H A Ddcn20_hwseq.c930 if (plane_state->lut3d_func && in dcn20_set_shaper_3dlut()
931 plane_state->lut3d_func->state.bits.initialized == 1) in dcn20_set_shaper_3dlut()
933 &plane_state->lut3d_func->lut_3d); in dcn20_set_shaper_3dlut()