diff options
author | Samson Tam <Samson.Tam@amd.com> | 2024-08-23 23:57:33 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-09-18 23:15:06 +0300 |
commit | c2ed7002c0614c5eab6c8f62a7a76be5df5805cf (patch) | |
tree | 719424ae71f4d63256e8d597ec7bd6f365ebe1b5 /drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | |
parent | c03fca619fc687338a3b6511fdbed94096abdf79 (diff) | |
download | linux-c2ed7002c0614c5eab6c8f62a7a76be5df5805cf.tar.xz |
drm/amd/display: Use SDR white level to calculate matrix coefficients
[WHY]
Certain profiles have higher HDR multiplier than SDR white level max
which is not currently supported.
[HOW]
Use SDR white level when calculating matrix coefficients for HDR RGB MPO
path instead of HDR multiplier.
Cc: Mario Limonciello <mario.limonciello@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Reviewed-by: Jun Lei <jun.lei@amd.com>
Signed-off-by: Samson Tam <Samson.Tam@amd.com>
Signed-off-by: Alex Hung <alex.hung@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c')
0 files changed, 0 insertions, 0 deletions