Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/i915/display/
H A Dintel_sprite.c140 int contrast, brightness, sh_scale, sh_sin, sh_cos; in vlv_sprite_update_clrc() local
152 sh_scale = DIV_ROUND_CLOSEST(128 << 7, 240 - 128); in vlv_sprite_update_clrc()
153 sh_sin = SIN_0 * sh_scale; in vlv_sprite_update_clrc()
154 sh_cos = COS_0 * sh_scale; in vlv_sprite_update_clrc()
159 sh_scale = 1 << 7; in vlv_sprite_update_clrc()
160 sh_sin = SIN_0 * sh_scale; in vlv_sprite_update_clrc()
161 sh_cos = COS_0 * sh_scale; in vlv_sprite_update_clrc()