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

Kamil Konieczny kamil.konieczny at linux.intel.com
Thu Jun 20 10:34:58 UTC 2024


Hi Zbigniew,
On 2024-06-20 at 11:48:21 +0200, 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: Kamil Konieczny <kamil.konieczny at linux.intel.com>

> ---
>  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,
>  	},
> -- 
> 2.34.1
> 


More information about the igt-dev mailing list