Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpu/drm/amd/display/modules/color/
Dcolor_gamma.c426 uint32_t color_index) in translate_from_linear_space_ex() argument
429 scratch_gamma_args.a0 = coeff->a0[color_index]; in translate_from_linear_space_ex()
430 scratch_gamma_args.a1 = coeff->a1[color_index]; in translate_from_linear_space_ex()
431 scratch_gamma_args.a2 = coeff->a2[color_index]; in translate_from_linear_space_ex()
432 scratch_gamma_args.a3 = coeff->a3[color_index]; in translate_from_linear_space_ex()
433 scratch_gamma_args.gamma = coeff->user_gamma[color_index]; in translate_from_linear_space_ex()
442 uint32_t color_index) in translate_to_linear_space_ex() argument
446 coeff->a0[color_index], in translate_to_linear_space_ex()
447 coeff->a1[color_index], in translate_to_linear_space_ex()
448 coeff->a2[color_index], in translate_to_linear_space_ex()
[all …]
/Linux-v5.4/drivers/gpu/drm/ast/
Dast_mode.c91 u32 refresh_rate_index = 0, mode_id, color_index, refresh_rate; in ast_get_vbios_mode_info() local
99 color_index = VGAModeIndex - 1; in ast_get_vbios_mode_info()
103 color_index = HiCModeIndex; in ast_get_vbios_mode_info()
108 color_index = TrueCModeIndex; in ast_get_vbios_mode_info()
212 ast_set_index_reg(ast, AST_IO_CRTC_PORT, 0x8c, (u8)((color_index & 0xf) << 4)); in ast_get_vbios_mode_info()