@@ -60,6 +60,8 @@
/* Wrapper for VBT child device config */
struct intel_bios_encoder_data {
+ struct drm_i915_private *i915;
+
struct child_device_config child;
struct dsc_compression_parameters_entry *dsc;
struct list_head node;
@@ -2002,6 +2004,8 @@ parse_general_definitions(struct drm_i915_private *i915,
if (!devdata)
break;
+ devdata->i915 = i915;
+
/*
* Copy as much as we know (sizeof) and is available
* (child_dev_size) of the child device config. Accessing the
@@ -2079,6 +2083,7 @@ init_vbt_missing_defaults(struct drm_i915_private *i915)
if (!devdata)
break;
+ devdata->i915 = i915;
child = &devdata->child;
if (port == PORT_F)
We'll be needing it in the future. Cc: Lucas De Marchi <lucas.demarchi@intel.com> Cc: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Jani Nikula <jani.nikula@intel.com> --- drivers/gpu/drm/i915/display/intel_bios.c | 5 +++++ 1 file changed, 5 insertions(+)