Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/dispnv50/
Dheadc57d.c126 u16 r = drm_color_lut_extract(in-> red + 0, 16); in headc57d_olut_load_8()
127 u16 g = drm_color_lut_extract(in->green + 0, 16); in headc57d_olut_load_8()
128 u16 b = drm_color_lut_extract(in-> blue + 0, 16); in headc57d_olut_load_8()
132 ri = (drm_color_lut_extract(in-> red, 16) - r) / 4; in headc57d_olut_load_8()
133 gi = (drm_color_lut_extract(in->green, 16) - g) / 4; in headc57d_olut_load_8()
134 bi = (drm_color_lut_extract(in-> blue, 16) - b) / 4; in headc57d_olut_load_8()
159 writew(drm_color_lut_extract(in-> red, 16), mem + 0); in headc57d_olut_load()
160 writew(drm_color_lut_extract(in->green, 16), mem + 2); in headc57d_olut_load()
161 writew(drm_color_lut_extract(in-> blue, 16), mem + 4); in headc57d_olut_load()
Dwndwc57e.c166 u16 r = fixedU0_16_FP16(drm_color_lut_extract(in-> red, 16)); in wndwc57e_ilut_load()
167 u16 g = fixedU0_16_FP16(drm_color_lut_extract(in->green, 16)); in wndwc57e_ilut_load()
168 u16 b = fixedU0_16_FP16(drm_color_lut_extract(in-> blue, 16)); in wndwc57e_ilut_load()
Dhead507d.c317 writew(drm_color_lut_extract(in-> red, 11) << 3, mem + 0); in head507d_olut_load()
318 writew(drm_color_lut_extract(in->green, 11) << 3, mem + 2); in head507d_olut_load()
319 writew(drm_color_lut_extract(in-> blue, 11) << 3, mem + 4); in head507d_olut_load()
Dhead907d.c289 writew(drm_color_lut_extract(in-> red, 14) + 0x6000, mem + 0); in head907d_olut_load()
290 writew(drm_color_lut_extract(in->green, 14) + 0x6000, mem + 2); in head907d_olut_load()
291 writew(drm_color_lut_extract(in-> blue, 14) + 0x6000, mem + 4); in head907d_olut_load()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_color.c134 r = drm_color_lut_extract(lut[i].red, 16); in __drm_lut_to_dc_gamma()
135 g = drm_color_lut_extract(lut[i].green, 16); in __drm_lut_to_dc_gamma()
136 b = drm_color_lut_extract(lut[i].blue, 16); in __drm_lut_to_dc_gamma()
147 r = drm_color_lut_extract(lut[i].red, 16); in __drm_lut_to_dc_gamma()
148 g = drm_color_lut_extract(lut[i].green, 16); in __drm_lut_to_dc_gamma()
149 b = drm_color_lut_extract(lut[i].blue, 16); in __drm_lut_to_dc_gamma()
/kernel/linux/linux-5.10/drivers/gpu/drm/rcar-du/
Drcar_cmm.c57 u32 entry = drm_color_lut_extract(drm_lut[i].red, 8) << 16 in rcar_cmm_lut_write()
58 | drm_color_lut_extract(drm_lut[i].green, 8) << 8 in rcar_cmm_lut_write()
59 | drm_color_lut_extract(drm_lut[i].blue, 8); in rcar_cmm_lut_write()
/kernel/linux/linux-5.10/include/drm/
Ddrm_color_mgmt.h41 static inline u32 drm_color_lut_extract(u32 user_input, int bit_precision) in drm_color_lut_extract() function
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/
Dintel_color.c405 return drm_color_lut_extract(color->red, 8) << 16 | in i9xx_lut_8()
406 drm_color_lut_extract(color->green, 8) << 8 | in i9xx_lut_8()
407 drm_color_lut_extract(color->blue, 8); in i9xx_lut_8()
451 return drm_color_lut_extract(color->red, 10) << 20 | in ilk_lut_10()
452 drm_color_lut_extract(color->green, 10) << 10 | in ilk_lut_10()
453 drm_color_lut_extract(color->blue, 10); in ilk_lut_10()
1020 return drm_color_lut_extract(color->green, 14) << 16 | in chv_cgm_degamma_ldw()
1021 drm_color_lut_extract(color->blue, 14); in chv_cgm_degamma_ldw()
1026 return drm_color_lut_extract(color->red, 14); in chv_cgm_degamma_udw()
1054 return drm_color_lut_extract(color->green, 10) << 16 | in chv_cgm_gamma_ldw()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/arm/display/komeda/
Dkomeda_color_mgmt.c108 coeffs[num++] = drm_color_lut_extract(lut[in].red, in drm_lut_to_coeffs()
/kernel/linux/linux-5.10/drivers/gpu/drm/vc4/
Dvc4_hvs.c192 vc4_crtc->lut_r[i] = drm_color_lut_extract(lut[i].red, 8); in vc4_hvs_update_gamma_lut()
193 vc4_crtc->lut_g[i] = drm_color_lut_extract(lut[i].green, 8); in vc4_hvs_update_gamma_lut()
194 vc4_crtc->lut_b[i] = drm_color_lut_extract(lut[i].blue, 8); in vc4_hvs_update_gamma_lut()
/kernel/linux/linux-5.10/drivers/gpu/drm/arm/
Dmalidp_crtc.c135 out_start = drm_color_lut_extract(lut[segments[i].start].green, in malidp_generate_gamma_table()
137 out_end = drm_color_lut_extract(lut[segments[i].end].green, 12); in malidp_generate_gamma_table()
/kernel/linux/linux-5.10/drivers/gpu/drm/armada/
Darmada_crtc.c147 writel_relaxed(drm_color_lut_extract(lut[i].red, 8), in armada_drm_update_gamma()
152 writel_relaxed(drm_color_lut_extract(lut[i].green, 8), in armada_drm_update_gamma()
157 writel_relaxed(drm_color_lut_extract(lut[i].blue, 8), in armada_drm_update_gamma()
/kernel/linux/linux-5.10/drivers/gpu/drm/rockchip/
Drockchip_drm_vop.c1203 word = (drm_color_lut_extract(lut[i].red, 10) << 20) | in vop_crtc_write_gamma_lut()
1204 (drm_color_lut_extract(lut[i].green, 10) << 10) | in vop_crtc_write_gamma_lut()
1205 drm_color_lut_extract(lut[i].blue, 10); in vop_crtc_write_gamma_lut()
/kernel/linux/patches/linux-5.10/yangfan_patch/
Ddrivers.patch29550 - word = (drm_color_lut_extract(lut[i].red, 10) << 20) |
29551 - (drm_color_lut_extract(lut[i].green, 10) << 10) |
29552 - drm_color_lut_extract(lut[i].blue, 10);