]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd/display: set sdr_ref_white_level to 80 for out_transfer_func
authorJoshua Ashton <joshua@froggi.es>
Thu, 16 Nov 2023 19:57:56 +0000 (18:57 -0100)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 13 Dec 2023 21:08:01 +0000 (16:08 -0500)
commit88d26ea639a8e9d314e6bffef5f382167e7203e2
tree7424da0d0e4b0bd87217bcf159472e35e5692e81
parentd9501844d53897ca7ac04697b8504940c6dfdbb3
drm/amd/display: set sdr_ref_white_level to 80 for out_transfer_func

Otherwise this is just initialized to 0. This needs to actually have a
value so that compute_curve can work for PQ EOTF.

Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Joshua Ashton <joshua@froggi.es>
Co-developed-by: Melissa Wen <mwen@igalia.com>
Signed-off-by: Melissa Wen <mwen@igalia.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c