On Tue, Apr 07, 2026 at 02:09:37AM -0500, Aaron Kling via B4 Relay wrote: > From: Aaron Kling > > Without the cmu, nvdisplay will display colors that are notably darker > than intended. The vendor bootloader and the downstream display driver > enable the cmu and sets a sRGB table. Loading that table here results in > the intended colors. > > Co-developed-by: Kurt Kiefer > Signed-off-by: Kurt Kiefer > Signed-off-by: Aaron Kling > Tested-by: Jasper Korten > --- > Changes in v4: > - Add missing signoff > - Rename cmu phys var to be more clear > - Remove redundant lut null check > - Link to v3: https://lore.kernel.org/r/20260406-tegra-drm-cmu-v3-1-dfcb1dda4ad6@gmail.com > > Changes in v3: > - Remove improper IOVA null check > - Use dmam_alloc_coherent instead of manually tracking memory > - Address other review comments > - Link to v2: https://lore.kernel.org/r/20260202-tegra-drm-cmu-v2-1-a1bcb37f3e85@gmail.com > > Changes in v2: > - Several formatting changes per v1 review > - Move cmu alloc/free to dc, where it can be handled in probe/remove > - Enable cmu for displayport as well > - Link to v1: https://lore.kernel.org/r/20251101-tegra-drm-cmu-v1-1-211799755ab8@gmail.com > --- > drivers/gpu/drm/tegra/dc.c | 116 ++++++++++++++++++++++++++++++++++++++++++++ > drivers/gpu/drm/tegra/dc.h | 13 +++++ > drivers/gpu/drm/tegra/sor.c | 25 ++++++++++ > 3 files changed, 154 insertions(+) Applied, thanks. Thierry