[igt-dev] [PATCH i-g-t] tests/kms_hdmi_inject: Fix audio test by loading snd driver

Kamil Konieczny kamil.konieczny at linux.intel.com
Wed Jul 26 07:30:38 UTC 2023


Hi Nemesa,

you put this in Cc: Garg at freedesktop.org
but it looks like this is incorrect e-mail address:

5.1.0 - Unknown address error 550-'5.1.1 <Garg at freedesktop.org>: Recipient address rejected: User unknown in local recipient table'

I see Jeevan already responded but if you plan on keeping
this patch or sending other one, please see below.

On 2023-07-24 at 13:07:37 +0530, Garg, Nemesa wrote:
> As audio driver is blacklisted so load the snd_hda_intel module before the inject_audio
--------------------------------------------------------- ^
Split line here (try to keep under 65 chars).

> test run
--------- ^
Put dot '.' at end.

> 
> Signed-off-by: Garg, Nemesa <nemesa.garg at intel.com>
---------------- ^^^^^^^^^^^^  ^^^^^^^^^^^
This do not match, please configure your git so it will write:

Signed-off-by: Nemesa Garg <nemesa.garg at intel.com>

as your s-o-b.

> ---
>  tests/kms_hdmi_inject.c | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/tests/kms_hdmi_inject.c b/tests/kms_hdmi_inject.c
> index 9aa5c59fc..1964d7541 100644
> --- a/tests/kms_hdmi_inject.c
> +++ b/tests/kms_hdmi_inject.c
> @@ -30,6 +30,7 @@
>  #include "igt_edid.h"
>  #include "igt_eld.h"
>  #include "xe/xe_query.h"
> +#include "igt_kmod.h"
------------ ^
Keep it sorted so put this before xe/xe_query.h include.

Regards,
Kamil

>  
>  #define HDISPLAY_4K	3840
>  #define VDISPLAY_4K	2160
> @@ -206,6 +207,9 @@ igt_main
>  		igt_require(connector);
>  
>  		kmstest_unset_all_crtcs(drm_fd, res);
> +
> +		if (!igt_kmod_is_loaded("snd_hda_intel"))
> +			igt_kmod_load("snd_hda_intel", NULL);
>  	}
>  
>  	igt_describe("Make sure that 4K modes exposed by DRM match the "
> -- 
> 2.25.1
> 


More information about the igt-dev mailing list