[PATCH i-g-t v4 2/4] lib/igt_kms: Add helper to get encoder index

Abhinav Kumar quic_abhinavk at quicinc.com
Wed Sep 25 21:10:00 UTC 2024



On 9/25/2024 1:37 PM, Jessica Zhang wrote:
> From: Esha Bharadwaj <quic_ebharadw at quicinc.com>
> 
> Move the get_encoder_idx() helper within the kms_setmode test to
> lib/igt_kms
> 
> Signed-off-by: Esha Bharadwaj <quic_ebharadw at quicinc.com>
> Signed-off-by: Jessica Zhang <quic_jesszhan at quicinc.com>
> ---
>   lib/igt_kms.c       | 15 +++++++++++++++
>   lib/igt_kms.h       |  1 +
>   tests/kms_setmode.c | 14 ++------------
>   3 files changed, 18 insertions(+), 12 deletions(-)
> 

Change LGTM, but will ack this once comments on (3) are addressed.


More information about the igt-dev mailing list