]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu_dm: Rely on split out luminance calculation function
authorJouni Högander <jouni.hogander@intel.com>
Tue, 19 Jul 2022 09:56:59 +0000 (12:56 +0300)
committerJani Nikula <jani.nikula@intel.com>
Thu, 11 Aug 2022 19:10:23 +0000 (22:10 +0300)
commitb8187a1676695d9a12cb730e8137bd1e1f42a6a4
treec038fdacc70278c3909b5ecd09a7252f15779c82
parentc6f8712ef20d035a41a2426df437824cb89ecd78
drm/amdgpu_dm: Rely on split out luminance calculation function

Luminance range calculation was split out into drm_edid.c and is now
part of edid parsing. Rely on values calculated during edid parsing and
use these for caps->aux_max_input_signal and caps->aux_min_input_signal.

v2: Use values calculated during edid parsing

Cc: Roman Li <roman.li@amd.com>
Cc: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Cc: Harry Wentland <harry.wentland@amd.com>
Cc: Lyude Paul <lyude@redhat.com>
Cc: Mika Kahola <mika.kahola@intel.com>
Cc: Jani Nikula <jani.nikula@intel.com>
Cc: Manasi Navare <manasi.d.navare@intel.com>
Signed-off-by: Jouni Högander <jouni.hogander@intel.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220719095700.14923-3-jouni.hogander@intel.com
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c