Home
last modified time | relevance | path

Searched refs:gamut_mode (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dpp/dcn30/
Ddcn30_dpp_cm.c379 int gamut_mode; in dpp3_cm_set_gamut_remap() local
395 REG_GET(CM_GAMUT_REMAP_CONTROL, CM_GAMUT_REMAP_MODE_CURRENT, &gamut_mode); in dpp3_cm_set_gamut_remap()
397 if (gamut_mode == 0) in dpp3_cm_set_gamut_remap()
398 gamut_mode = 1; //use coefficient set A in dpp3_cm_set_gamut_remap()
399 else if (gamut_mode == 1) in dpp3_cm_set_gamut_remap()
400 gamut_mode = 2; in dpp3_cm_set_gamut_remap()
402 gamut_mode = 1; in dpp3_cm_set_gamut_remap()
405 program_gamut_remap(dpp, arr_reg_val, gamut_mode); in dpp3_cm_set_gamut_remap()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/mpc/dcn30/
Ddcn30_mpc.c1115 int gamut_mode; in mpc3_set_gamut_remap() local
1130 REG_GET(MPCC_GAMUT_REMAP_MODE[mpcc_id], MPCC_GAMUT_REMAP_MODE_CURRENT, &gamut_mode); in mpc3_set_gamut_remap()
1132 if (gamut_mode == 0) in mpc3_set_gamut_remap()
1133 gamut_mode = 1; //use coefficient set A in mpc3_set_gamut_remap()
1134 else if (gamut_mode == 1) in mpc3_set_gamut_remap()
1135 gamut_mode = 2; in mpc3_set_gamut_remap()
1137 gamut_mode = 1; in mpc3_set_gamut_remap()
1139 program_gamut_remap(mpc30, mpcc_id, arr_reg_val, gamut_mode); in mpc3_set_gamut_remap()