]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amd/display: Add COLOR_ENCODING/COLOR_RANGE to overlay planes
authorHarry Wentland <harry.wentland@amd.com>
Thu, 15 Jan 2026 19:12:46 +0000 (14:12 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 11 Mar 2026 14:55:41 +0000 (10:55 -0400)
commitf3d349484856e874ad00eeda9754a2ca8b7be5c7
tree5793bf34cbec69c4f2cbb81565545fc327aa1a5e
parent63fff551318f5e0814b94f709a6dfaec789dcd7a
drm/amd/display: Add COLOR_ENCODING/COLOR_RANGE to overlay planes

Extend COLOR_ENCODING and COLOR_RANGE property creation to overlay
planes in addition to primary planes. This allows overlay planes to
use YUV formats with proper color space configuration when the
hardware supports NV12/P010 formats.

These properties control the YUV-to-RGB conversion matrix selection
(BT.601/BT.709/BT.2020) and range handling (limited/full range).

Assisted-by: Claude: claude-sonnet-4.5
Reviewed-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Hung <alex.hung@amd.com>
Tested-by: Dan Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_plane.c