On Sun, Oct 19, 2025 at 12:06:32PM +0200, Federico Amedeo Izzo via B4 Relay wrote: > From: Federico Amedeo Izzo <[email protected]> > > Add support for DSPP GC block in DPU driver for Qualcomm SoCs. > Expose the GAMMA_LUT DRM property, which is needed to enable > night light and basic screen color calibration. > > I used LineageOS downstream kernel as a reference and found the LUT > format by trial-and-error on OnePlus 6. > > Tested on oneplus-enchilada (sdm845-mainline 6.16-dev) and xiaomi-tissot > (msm8953-mainline 6.12/main). > > Tested-by: David Heidelberg <[email protected]> # Pixel 3 (next-20251018) > Tested-by: Guido Günther <[email protected]> # on sdm845-shift-axolotl > Signed-off-by: Federico Amedeo Izzo <[email protected]> > --- > DRM GAMMA_LUT support was missing on sdm845 and other Qualcomm SoCs using > DPU for CRTC. This is needed in userspace to enable features like Night > Light or basic color calibration. > > I wrote this driver to enable Night Light on OnePlus 6, and after the > driver was working I found out it applies to the 29 different Qualcomm SoCs > that use the DPU display engine, including X1E for laptops. > > I used the LineageOS downstream kernel as reference and found the correct > LUT format by trial-and-error on OnePlus 6. > > This was my first Linux driver and it's been a great learning > experience.
This seems to break several gamma-related IGT tests. Please consider taking a look, why are they broken by this commit. -- With best wishes Dmitry
