]> 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)
commit60302566edb5eb0fd3f3972cb7c6ffa388e28f8b
tree0ea05607045084667a3813d5b46711d09cad9243
parentc72a3a48f295876e4012dbf946acc399563345c8
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