Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/amd/display/modules/color/
H A Dcolor_gamma.c339 struct fixed31_32 scratch_1, scratch_2; in translate_from_linear_space() local
347 scratch_2 = dc_fixpt_pow( in translate_from_linear_space()
350 scratch_1 = dc_fixpt_mul(scratch_1, scratch_2); in translate_from_linear_space()
367 scratch_2 = dc_fixpt_pow(args->arg, in translate_from_linear_space()
370 scratch_2 = dc_fixpt_mul(cal_buffer->gamma_of_2, in translate_from_linear_space()
374 cal_buffer->buffer[cal_buffer->buffer_index%16] = scratch_2; in translate_from_linear_space()
378 scratch_1 = dc_fixpt_mul(scratch_1, scratch_2); in translate_from_linear_space()