drm/i915/vbt: Rename BDB_LVDS_POWER to BDB_LFP_POWER
authorJosé Roberto de Souza <jose.souza@intel.com>
Fri, 10 Jan 2020 23:50:45 +0000 (15:50 -0800)
committerJosé Roberto de Souza <jose.souza@intel.com>
Tue, 14 Jan 2020 20:38:59 +0000 (12:38 -0800)
Renaming to match the BSpec and struct name.

BSpec: 20150
Cc: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200110235045.176640-1-jose.souza@intel.com
drivers/gpu/drm/i915/display/intel_bios.c
drivers/gpu/drm/i915/display/intel_vbt_defs.h

index 8beac06e3f10f213ae736f7fde35b309c51341c9..9a891ef72118f74c14b436a441c69d2c0cf05137 100644 (file)
@@ -686,7 +686,7 @@ parse_power_conservation_features(struct drm_i915_private *dev_priv,
        if (bdb->version < 228)
                return;
 
-       power = find_section(bdb, BDB_LVDS_POWER);
+       power = find_section(bdb, BDB_LFP_POWER);
        if (!power)
                return;
 
index 4d0c23b2924825d458436272b8d8fba04bf3259a..05c7cbe32eb406eb26fc59353f17ec672e4ba66f 100644 (file)
@@ -111,7 +111,7 @@ enum bdb_block_id {
        BDB_LVDS_LFP_DATA_PTRS          = 41,
        BDB_LVDS_LFP_DATA               = 42,
        BDB_LVDS_BACKLIGHT              = 43,
-       BDB_LVDS_POWER                  = 44,
+       BDB_LFP_POWER                   = 44,
        BDB_MIPI_CONFIG                 = 52,
        BDB_MIPI_SEQUENCE               = 53,
        BDB_COMPRESSION_PARAMETERS      = 56,