]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Use luminance range calculated during edid parsing
authorJouni Högander <jouni.hogander@intel.com>
Tue, 19 Jul 2022 09:57:00 +0000 (12:57 +0300)
committerJani Nikula <jani.nikula@intel.com>
Thu, 11 Aug 2022 19:10:37 +0000 (22:10 +0300)
commitb7063a95f8821a75a2d243d68ed27aa53fb56a92
tree3fdebdbd6fac1210f1264b05bf91ed945702bddf
parentb8187a1676695d9a12cb730e8137bd1e1f42a6a4
drm/i915: Use luminance range calculated during edid parsing

Instead of using fixed 0 - 512 range use luminance range calculated
as a part of edid parsing. As a backup fall back to static 0 - 512.

v3: Clean-ups suggested by Jani Nikula
v2: Use values calculated during edid parsing

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>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220719095700.14923-4-jouni.hogander@intel.com
drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c