]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/i915/bios: Define block 46 chromaticity coordinates properly
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 5 Jun 2024 13:47:55 +0000 (16:47 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 7 Jun 2024 11:39:51 +0000 (14:39 +0300)
commit80c414772d93f2f21af2483497f424c6cc7b1132
tree7f1b18c21bc9befa7327f7bce91d4f9ff0a8335d
parent106fb076aa5ce24bfac3037aa655dbeb26cc8ff8
drm/i915/bios: Define block 46 chromaticity coordinates properly

The VBT spec does a very poor job of defining how the chromaticity
coordinates in block 46 are laid out. After double checking the
Windows implementation it turns out these more or less match the
EDID definition, where the 10bit values are split into 2bit + 8bit
chunks. Adjust our struct definition to reflect that.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240605134756.17099-1-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/intel_vbt_defs.h