Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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.c216 REG_UPDATE(ALPHA_2BIT_LUT, ALPHA_2BIT_LUT1, alpha_2bit_lut->lut1); in dpp2_cnv_setup()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/inc/hw/
Dhw_shared.h90 struct dc_rgb lut1[1228]; member
96 struct dc_rgb lut1[182]; member
Ddpp.h96 int lut1; member
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_dpp.c299 REG_UPDATE(ALPHA_2BIT_LUT, ALPHA_2BIT_LUT1, alpha_2bit_lut->lut1); in dpp3_cnv_setup()
1273 struct dc_rgb *lut1; in dpp3_program_3dlut() local
1294 lut1 = params->tetrahedral_17.lut1; in dpp3_program_3dlut()
1299 lut_size = sizeof(params->tetrahedral_17.lut1)/ in dpp3_program_3dlut()
1300 sizeof(params->tetrahedral_17.lut1[0]); in dpp3_program_3dlut()
1303 lut1 = params->tetrahedral_9.lut1; in dpp3_program_3dlut()
1308 lut_size = sizeof(params->tetrahedral_9.lut1)/ in dpp3_program_3dlut()
1309 sizeof(params->tetrahedral_9.lut1[0]); in dpp3_program_3dlut()
1322 dpp3_set3dlut_ram12(dpp_base, lut1, lut_size); in dpp3_program_3dlut()
1324 dpp3_set3dlut_ram10(dpp_base, lut1, lut_size); in dpp3_program_3dlut()
Ddcn30_mpc.c1129 const struct dc_rgb *lut1; in mpc3_program_3dlut() local
1152 lut1 = params->tetrahedral_17.lut1; in mpc3_program_3dlut()
1157 lut_size = sizeof(params->tetrahedral_17.lut1)/ in mpc3_program_3dlut()
1158 sizeof(params->tetrahedral_17.lut1[0]); in mpc3_program_3dlut()
1161 lut1 = params->tetrahedral_9.lut1; in mpc3_program_3dlut()
1166 lut_size = sizeof(params->tetrahedral_9.lut1)/ in mpc3_program_3dlut()
1167 sizeof(params->tetrahedral_9.lut1[0]); in mpc3_program_3dlut()
1180 mpc3_set3dlut_ram12(mpc, lut1, lut_size, rmu_idx); in mpc3_program_3dlut()
1182 mpc3_set3dlut_ram10(mpc, lut1, lut_size, rmu_idx); in mpc3_program_3dlut()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/modules/color/
Dcolor_gamma.c1331 struct fixed31_32 lut1; in apply_lut_1d() local
1364 lut1 = ramp->entries.red[index]; in apply_lut_1d()
1367 lut1 = ramp->entries.green[index]; in apply_lut_1d()
1370 lut1 = ramp->entries.blue[index]; in apply_lut_1d()
1375 delta_lut = dc_fixpt_sub(lut2, lut1); in apply_lut_1d()
1378 *regamma_y = dc_fixpt_add(lut1, in apply_lut_1d()
1523 struct fixed31_32 lut1; in interpolate_user_regamma() local
1564 lut1 = rgb_user[index].r; in interpolate_user_regamma()
1567 lut1 = rgb_user[index].g; in interpolate_user_regamma()
1570 lut1 = rgb_user[index].b; in interpolate_user_regamma()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/
Dintel_color.c1673 static bool err_check(struct drm_color_lut *lut1, in err_check() argument
1676 return ((abs((long)lut2->red - lut1->red)) <= err) && in err_check()
1677 ((abs((long)lut2->blue - lut1->blue)) <= err) && in err_check()
1678 ((abs((long)lut2->green - lut1->green)) <= err); in err_check()
1681 static bool intel_color_lut_entries_equal(struct drm_color_lut *lut1, in intel_color_lut_entries_equal() argument
1688 if (!err_check(&lut1[i], &lut2[i], err)) in intel_color_lut_entries_equal()
1699 struct drm_color_lut *lut1, *lut2; in intel_color_lut_equal() local
1716 lut1 = blob1->data; in intel_color_lut_equal()
1725 if (!intel_color_lut_entries_equal(lut1, lut2, in intel_color_lut_equal()
1730 if (!intel_color_lut_entries_equal(lut1, lut2, in intel_color_lut_equal()