[PATCH 2/2] new files are added in meson.build file

Kamil Konieczny kamil.konieczny at linux.intel.com
Wed Mar 20 11:10:47 UTC 2024


Hi Himanshu,
On 2024-03-19 at 18:29:15 +0530, Himanshu Nayak wrote:

your subject should be:

[PATCH i-g-t 2/2] tests/amdgpu/meson: change amd_vcn in meson.build

Add also description here. For your patches, please use
checkpatch.pl script from Linux kernel to spot some problems, for
example missing s-o-b.

Regards,
Kamil

> ---
>  tests/amdgpu/meson.build | 11 ++++++++++-
>  1 file changed, 10 insertions(+), 1 deletion(-)
> 
> diff --git a/tests/amdgpu/meson.build b/tests/amdgpu/meson.build
> index a58d18ad3..0f5eb197f 100644
> --- a/tests/amdgpu/meson.build
> +++ b/tests/amdgpu/meson.build
> @@ -60,10 +60,19 @@ if libdrm_amdgpu.found()
>  endif
>  
>  foreach prog : amdgpu_progs
> -	test_executables += executable(prog, prog + '.c',
> +        if prog == 'amd_vcn'
> +              test_executables += executable(prog, prog + '.c', 'amd_vcn_common.c', 'amd_vcn_hevc.c',
>  				       dependencies : amdgpu_deps,
>  				       install_dir : amdgpudir,
>  				       install_rpath : amdgpudir_rpathdir,
>  				       install : true)
> +
> +        else
> +            test_executables += executable(prog, prog + '.c',
> +				       dependencies : amdgpu_deps,
> +				       install_dir : amdgpudir,
> +				       install_rpath : amdgpudir_rpathdir,
> +				       install : true)
> +        endif
>  	test_list += join_paths('amdgpu', prog)
>  endforeach
> -- 
> 2.34.1
> 


More information about the igt-dev mailing list