Re: [PATCH 1/2] drm/i915/bios: Tolerate devdata==NULL in intel_bios_encoder_supports_dp_dual_mode()

2024-03-25 Thread Jani Nikula
On Tue, 19 Mar 2024, Ville Syrjälä wrote: > On Tue, Mar 19, 2024 at 11:29:14AM +0200, Jani Nikula wrote: >> On Tue, 19 Mar 2024, Ville Syrjala wrote: >> > From: Ville Syrjälä >> > >> > If we have no VBT, or the VBT didn't declare the encoder >> > in question, we won't have the 'devdata' for the

Re: [PATCH 1/2] drm/i915/bios: Tolerate devdata==NULL in intel_bios_encoder_supports_dp_dual_mode()

2024-03-19 Thread Ville Syrjälä
On Tue, Mar 19, 2024 at 11:29:14AM +0200, Jani Nikula wrote: > On Tue, 19 Mar 2024, Ville Syrjala wrote: > > From: Ville Syrjälä > > > > If we have no VBT, or the VBT didn't declare the encoder > > in question, we won't have the 'devdata' for the encoder. > > Instead of oopsing just bail early.

Re: [PATCH 1/2] drm/i915/bios: Tolerate devdata==NULL in intel_bios_encoder_supports_dp_dual_mode()

2024-03-19 Thread Jani Nikula
On Tue, 19 Mar 2024, Ville Syrjala wrote: > From: Ville Syrjälä > > If we have no VBT, or the VBT didn't declare the encoder > in question, we won't have the 'devdata' for the encoder. > Instead of oopsing just bail early. > > We won't be able to tell whether the port is DP++ or not, > but so be

[PATCH 1/2] drm/i915/bios: Tolerate devdata==NULL in intel_bios_encoder_supports_dp_dual_mode()

2024-03-19 Thread Ville Syrjala
From: Ville Syrjälä If we have no VBT, or the VBT didn't declare the encoder in question, we won't have the 'devdata' for the encoder. Instead of oopsing just bail early. We won't be able to tell whether the port is DP++ or not, but so be it. Cc: sta...@vger.kernel.org Closes: