> -----Original Message----- > From: Intel-xe <[email protected]> On Behalf Of Imre Deak > Sent: Tuesday, 16 June 2026 23.08 > To: [email protected]; [email protected] > Subject: [PATCH v2 02/28] drm/i915/dp: Add struct intel_dp_link_config > > Add a struct representing the public unpacked format of a link > configuration. This will be used by the DP link capability API added > as a follow-up, and by DP code in general that needs to track a link > configuration. >
Reviewed-by: Mika Kahola <[email protected]> > Signed-off-by: Imre Deak <[email protected]> > --- > drivers/gpu/drm/i915/display/intel_display_types.h | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/drivers/gpu/drm/i915/display/intel_display_types.h > b/drivers/gpu/drm/i915/display/intel_display_types.h > index c71edea145878..c092c81ed2eb6 100644 > --- a/drivers/gpu/drm/i915/display/intel_display_types.h > +++ b/drivers/gpu/drm/i915/display/intel_display_types.h > @@ -1800,6 +1800,14 @@ struct intel_psr { > struct ref_tracker *vblank_wakeref; > }; > > +struct intel_dp_link_config { > + int rate; > + int lane_count; > +}; > + > +#define INTEL_DP_LINK_CONFIG_NULL \ > + ((struct intel_dp_link_config){}) > + > struct intel_dp { > intel_reg_t output_reg; > u32 DP; > -- > 2.49.1
