Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_hw_util.c90 u32 lut_addr, lut_offset, lut_len; in _dpu_hw_setup_scaler3_lut() local
143 lut_len = off_tbl[filter][i][0] << 2; in _dpu_hw_setup_scaler3_lut()
144 for (j = 0; j < lut_len; j++) { in _dpu_hw_setup_scaler3_lut()
/kernel/linux/patches/linux-5.10/yangfan_patch/
Ddrivers.patch25790 + u32 lut_len;
26779 + for (i = 0; i < vop->lut_len; i++)
26809 + u32 lut_len = vop->lut_len;
26817 + if (regno >= lut_len || !vop->lut)
26823 + r = red * (lut_len - 1) / 0xffff;
26824 + g = green * (lut_len - 1) / 0xffff;
26825 + b = blue * (lut_len - 1) / 0xffff;
26826 + vop->lut[regno] = r * lut_len * lut_len + g * lut_len + b;
26836 + u32 lut_len = vop->lut_len;
26851 + if (regno >= lut_len || !vop->lut)
[all …]