[PATCH i-g-t 1/2] lib/intel_cmds_info: Remove duplicate block-copy tiling definition

Andrzej Hajda andrzej.hajda at intel.com
Thu Jun 20 12:27:50 UTC 2024



On 20.06.2024 11:48, Zbigniew Kempczyński wrote:
> Block-copy definition for Xe2 duplicates DG2+ so remove it.
>
> Signed-off-by: Zbigniew Kempczyński <zbigniew.kempczynski at intel.com>
> Cc: Kamil Konieczny <kamil.konieczny at linux.intel.com>
Reviewed-by: Andrzej Hajda <andrzej.hajda at intel.com>

Regards
Andrzej
> ---
>   lib/intel_cmds_info.c | 7 +------
>   1 file changed, 1 insertion(+), 6 deletions(-)
>
> diff --git a/lib/intel_cmds_info.c b/lib/intel_cmds_info.c
> index 1416e02cd4..d581edb6eb 100644
> --- a/lib/intel_cmds_info.c
> +++ b/lib/intel_cmds_info.c
> @@ -64,11 +64,6 @@ static const struct blt_cmd_info
>   						 BLT_CMD_EXTENDED |
>   						 BLT_CMD_SUPPORTS_COMPRESSION);
>   
> -static const struct blt_cmd_info
> -		xe2_xy_block_copy = BLT_INFO_EXT(XY_BLOCK_COPY, TILE_L_X_4_64,
> -						 BLT_CMD_EXTENDED |
> -						 BLT_CMD_SUPPORTS_COMPRESSION);
> -
>   static const struct blt_cmd_info
>   		mtl_xy_block_copy = BLT_INFO_EXT(XY_BLOCK_COPY, TILE_L_X_4_64,
>   						 BLT_CMD_EXTENDED);
> @@ -183,7 +178,7 @@ const struct intel_cmds_info gen12_pvc_cmds_info = {
>   const struct intel_cmds_info xe2_cmds_info  = {
>   	.blt_cmds = {
>   		[XY_FAST_COPY] = &dg2_xy_fast_copy,
> -		[XY_BLOCK_COPY] = &xe2_xy_block_copy,
> +		[XY_BLOCK_COPY] = &dg2_xy_block_copy,
>   		[MEM_COPY] = &pvc_mem_copy,
>   		[MEM_SET] = &pvc_mem_set,
>   	},



More information about the igt-dev mailing list