[PATCH i-g-t 01/14] lib/igt_kms: add enum for link rate and lane count
B, Jeevan
jeevan.b at intel.com
Tue Aug 27 05:30:54 UTC 2024
> -----Original Message-----
> From: igt-dev <igt-dev-bounces at lists.freedesktop.org> On Behalf Of Kunal
> Joshi
> Sent: Sunday, August 25, 2024 11:44 PM
> To: igt-dev at lists.freedesktop.org
> Cc: Joshi, Kunal1 <kunal1.joshi at intel.com>
> Subject: [PATCH i-g-t 01/14] lib/igt_kms: add enum for link rate and lane
> count
>
> add enums for link rate, lane count
>
> Signed-off-by: Kunal Joshi <kunal1.joshi at intel.com>
LGTM.
Reviewed-by: Jeevan B <jeevan.b at intel.com>
> ---
> lib/igt_kms.h | 23 +++++++++++++++++++++++
> 1 file changed, 23 insertions(+)
>
> diff --git a/lib/igt_kms.h b/lib/igt_kms.h index 25ba50916..999921f9f
> 100644
> --- a/lib/igt_kms.h
> +++ b/lib/igt_kms.h
> @@ -258,6 +258,29 @@ enum intel_broadcast_rgb_mode {
> BROADCAST_RGB_16_235
> };
>
> +enum dp_link_rate {
> + DP_LINK_RATE_162000 = 162000,
> + DP_LINK_RATE_216000 = 216000,
> + DP_LINK_RATE_243000 = 243000,
> + DP_LINK_RATE_270000 = 270000,
> + DP_LINK_RATE_324000 = 324000,
> + DP_LINK_RATE_432000 = 432000,
> + DP_LINK_RATE_540000 = 540000,
> + DP_LINK_RATE_675000 = 675000,
> + DP_LINK_RATE_810000 = 810000,
> + DP_LINK_RATE_1000000 = 1000000,
> + DP_LINK_RATE_1350000 = 1350000,
> + DP_LINK_RATE_2000000 = 2000000
> +};
> +
> +#define DP_MAX_LINK_RATE_COUNT 12
> +
> +enum dp_lane_count {
> + DP_LANE_COUNT_1 = 1,
> + DP_LANE_COUNT_2 = 2,
> + DP_LANE_COUNT_4 = 4
> +};
> +
> struct edid;
>
> bool kmstest_force_connector(int fd, drmModeConnector *connector,
> --
> 2.43.0
More information about the igt-dev
mailing list