Files
linux/drivers/gpu/drm
Melissa Wen 0a06bc174f drm/amd/display: use GAMCOR for degamma private props in subsampled format
When setting plane degamma TF via AMD driver-specific color properties,
the driver uses PRE_DEGAM color block (ROM). However, this block cannot
be used with subsampled formats as it affects the linearity of color
space in which HW scaler operates. For subsampled format, use the AMD
color module to map plane degamma predefined curve to LUT and use GAMCOR
block instead (RAM).

This is based on Harry's implementation for Fixed Matrix Colorop.

Link: https://lore.kernel.org/dri-devel/20260330153451.99472-1-harry.wentland@amd.com/
Co-developed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Harry Wentland <harry.wentland@amd.com>
Tested-by: Matthew Schwartz <matthew.schwartz@linux.dev>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Melissa Wen <mwen@igalia.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2026-07-01 11:20:58 -04:00
..
2026-05-28 09:58:36 +02:00
2026-05-28 09:58:36 +02:00
2026-05-28 09:58:36 +02:00
2026-05-28 09:58:36 +02:00
2026-05-28 09:58:36 +02:00
2026-05-28 09:58:36 +02:00
2026-05-28 09:58:36 +02:00
2026-05-28 09:58:36 +02:00
2026-05-28 09:58:36 +02:00
2026-05-28 09:58:36 +02:00
2026-05-28 09:58:36 +02:00
2026-04-07 12:36:31 +02:00
2026-03-12 07:23:23 -07:00