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

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

Completed in 277 milliseconds