]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/bios: Use the copy of the LFP data table always
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 5 Apr 2022 17:33:51 +0000 (20:33 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 12 Apr 2022 06:18:19 +0000 (09:18 +0300)
commit940a29756803092a25c65583a89636e57e8eb8ea
tree0ea05607045084667a3813d5b46711d09cad9243
parent3bf7e3b641d69bb9149ba30a12b9a0134358121b
drm/i915/bios: Use the copy of the LFP data table always

Currently get_lvds_fp_timing() still returns a pointer to the original
data block rather than our copy. Let's convert the data pointer offsets
to be relative to the data block rather than the whole BDB. With that
we can make get_lvds_fp_timing() return a pointer to the copy.

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