Re: [Intel-gfx] [PATCH v2 1/5] drm/i915: Initialize dig_port->aux_ch to NONE to be sure

2023-06-21 Thread Jani Nikula
On Tue, 20 Jun 2023, Ville Syrjala wrote: > From: Ville Syrjälä > > Make sure dig_port->aux_ch is trustworthy by initializing it > to NONE (-1) at the start. The encoder init will later fill in > the actual value, if appropriate. Smells like we could add intel_dig_port_alloc() and shove this

[Intel-gfx] [PATCH v2 1/5] drm/i915: Initialize dig_port->aux_ch to NONE to be sure

2023-06-20 Thread Ville Syrjala
From: Ville Syrjälä Make sure dig_port->aux_ch is trustworthy by initializing it to NONE (-1) at the start. The encoder init will later fill in the actual value, if appropriate. Signed-off-by: Ville Syrjälä --- drivers/gpu/drm/i915/display/g4x_dp.c| 2 ++