Home
last modified time | relevance | path

Searched refs:lut1 (Results 1 – 10 of 10) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_dpp_cm.c1068 struct dc_rgb *lut1; in dpp20_program_3dlut() local
1089 lut1 = params->tetrahedral_17.lut1; in dpp20_program_3dlut()
1094 lut_size = sizeof(params->tetrahedral_17.lut1)/ in dpp20_program_3dlut()
1095 sizeof(params->tetrahedral_17.lut1[0]); in dpp20_program_3dlut()
1098 lut1 = params->tetrahedral_9.lut1; in dpp20_program_3dlut()
1103 lut_size = sizeof(params->tetrahedral_9.lut1)/ in dpp20_program_3dlut()
1104 sizeof(params->tetrahedral_9.lut1[0]); in dpp20_program_3dlut()
1117 dpp20_set3dlut_ram12(dpp_base, lut1, lut_size); in dpp20_program_3dlut()
1119 dpp20_set3dlut_ram10(dpp_base, lut1, lut_size); in dpp20_program_3dlut()
Ddcn20_dpp.c220 REG_UPDATE(ALPHA_2BIT_LUT, ALPHA_2BIT_LUT1, alpha_2bit_lut->lut1); in dpp2_cnv_setup()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn32/
Ddcn32_mpc.c909 const struct dc_rgb *lut1; in mpc32_program_3dlut() local
932 lut1 = params->tetrahedral_17.lut1; in mpc32_program_3dlut()
937 lut_size = sizeof(params->tetrahedral_17.lut1)/ in mpc32_program_3dlut()
938 sizeof(params->tetrahedral_17.lut1[0]); in mpc32_program_3dlut()
941 lut1 = params->tetrahedral_9.lut1; in mpc32_program_3dlut()
946 lut_size = sizeof(params->tetrahedral_9.lut1)/ in mpc32_program_3dlut()
947 sizeof(params->tetrahedral_9.lut1[0]); in mpc32_program_3dlut()
960 mpc32_set3dlut_ram12(mpc, lut1, lut_size, mpcc_id); in mpc32_program_3dlut()
962 mpc32_set3dlut_ram10(mpc, lut1, lut_size, mpcc_id); in mpc32_program_3dlut()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_dpp.c302 REG_UPDATE(ALPHA_2BIT_LUT, ALPHA_2BIT_LUT1, alpha_2bit_lut->lut1); in dpp3_cnv_setup()
1354 struct dc_rgb *lut1; in dpp3_program_3dlut() local
1381 lut1 = params->tetrahedral_17.lut1; in dpp3_program_3dlut()
1386 lut_size = sizeof(params->tetrahedral_17.lut1)/ in dpp3_program_3dlut()
1387 sizeof(params->tetrahedral_17.lut1[0]); in dpp3_program_3dlut()
1390 lut1 = params->tetrahedral_9.lut1; in dpp3_program_3dlut()
1395 lut_size = sizeof(params->tetrahedral_9.lut1)/ in dpp3_program_3dlut()
1396 sizeof(params->tetrahedral_9.lut1[0]); in dpp3_program_3dlut()
1409 dpp3_set3dlut_ram12(dpp_base, lut1, lut_size); in dpp3_program_3dlut()
1411 dpp3_set3dlut_ram10(dpp_base, lut1, lut_size); in dpp3_program_3dlut()
Ddcn30_mpc.c1158 const struct dc_rgb *lut1; in mpc3_program_3dlut() local
1181 lut1 = params->tetrahedral_17.lut1; in mpc3_program_3dlut()
1186 lut_size = sizeof(params->tetrahedral_17.lut1)/ in mpc3_program_3dlut()
1187 sizeof(params->tetrahedral_17.lut1[0]); in mpc3_program_3dlut()
1190 lut1 = params->tetrahedral_9.lut1; in mpc3_program_3dlut()
1195 lut_size = sizeof(params->tetrahedral_9.lut1)/ in mpc3_program_3dlut()
1196 sizeof(params->tetrahedral_9.lut1[0]); in mpc3_program_3dlut()
1209 mpc3_set3dlut_ram12(mpc, lut1, lut_size, rmu_idx); in mpc3_program_3dlut()
1211 mpc3_set3dlut_ram10(mpc, lut1, lut_size, rmu_idx); in mpc3_program_3dlut()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/inc/hw/
Dhw_shared.h93 struct dc_rgb lut1[1228]; member
99 struct dc_rgb lut1[182]; member
Ddpp.h118 int lut1; member
/linux-6.1.9/drivers/gpu/drm/amd/display/modules/color/
Dcolor_gamma.c1394 struct fixed31_32 lut1; in apply_lut_1d() local
1440 lut1 = ramp->entries.red[index]; in apply_lut_1d()
1443 lut1 = ramp->entries.green[index]; in apply_lut_1d()
1446 lut1 = ramp->entries.blue[index]; in apply_lut_1d()
1451 delta_lut = dc_fixpt_sub(lut2, lut1); in apply_lut_1d()
1454 *regamma_y = dc_fixpt_add(lut1, in apply_lut_1d()
1599 struct fixed31_32 lut1; in interpolate_user_regamma() local
1644 lut1 = rgb_user[index].r; in interpolate_user_regamma()
1647 lut1 = rgb_user[index].g; in interpolate_user_regamma()
1650 lut1 = rgb_user[index].b; in interpolate_user_regamma()
[all …]
/linux-6.1.9/drivers/gpu/drm/i915/display/
Dintel_color.c1771 static bool err_check(struct drm_color_lut *lut1, in err_check() argument
1774 return ((abs((long)lut2->red - lut1->red)) <= err) && in err_check()
1775 ((abs((long)lut2->blue - lut1->blue)) <= err) && in err_check()
1776 ((abs((long)lut2->green - lut1->green)) <= err); in err_check()
1779 static bool intel_color_lut_entries_equal(struct drm_color_lut *lut1, in intel_color_lut_entries_equal() argument
1786 if (!err_check(&lut1[i], &lut2[i], err)) in intel_color_lut_entries_equal()
1797 struct drm_color_lut *lut1, *lut2; in intel_color_lut_equal() local
1814 lut1 = blob1->data; in intel_color_lut_equal()
1823 if (!intel_color_lut_entries_equal(lut1, lut2, in intel_color_lut_equal()
1828 if (!intel_color_lut_entries_equal(lut1, lut2, in intel_color_lut_equal()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn201/
Ddcn201_dpp.c161 REG_UPDATE(ALPHA_2BIT_LUT, ALPHA_2BIT_LUT1, alpha_2bit_lut->lut1); in dpp201_cnv_setup()