Re: [Intel-gfx] [PATCH v2 4/7] drm/i915: Assert that the port being initialized is valid

2023-06-02 Thread Jani Nikula
On Wed, 31 May 2023, Ville Syrjala wrote: > From: Ville Syrjälä > > Sprinkle some asserts to catch any mishaps in the port_mask > vs. output init. > > For DDI/DP/HDMI/SDVO I decided that we want to bail out for > an invalid port since those are the encoder types where > we might want consider

[Intel-gfx] [PATCH v2 4/7] drm/i915: Assert that the port being initialized is valid

2023-05-31 Thread Ville Syrjala
From: Ville Syrjälä Sprinkle some asserts to catch any mishaps in the port_mask vs. output init. For DDI/DP/HDMI/SDVO I decided that we want to bail out for an invalid port since those are the encoder types where we might want consider driving the whole thing from the VBT child device list, and