[PATCH i-g-t 08/12] lib/intel_bufops: Drop unnecessary Tile4 function assignment
Juha-Pekka Heikkila
juhapekka.heikkila at gmail.com
Mon Jun 17 11:16:55 UTC 2024
Reviewed-by: Juha-Pekka Heikkila <juhapekka.heikkila at gmail.com>
On 27.5.2024 10.33, Zbigniew Kempczyński wrote:
> Initialization is executed in bufops creation using appropriate
> template in which all functions are already assigned so there's
> no sense to assign them one more time for xe.
>
> Signed-off-by: Zbigniew Kempczyński <zbigniew.kempczynski at intel.com>
> Cc: Juha-Pekka Heikkila <juhapekka.heikkila at gmail.com>
> ---
> lib/intel_bufops.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/lib/intel_bufops.c b/lib/intel_bufops.c
> index 38b720624e..70f70bfa9e 100644
> --- a/lib/intel_bufops.c
> +++ b/lib/intel_bufops.c
> @@ -1695,8 +1695,6 @@ static struct buf_ops *__buf_ops_create(int fd, bool check_idempotency)
> bops->x_to_linear = copy_x_to_linear;
> bops->linear_to_y = copy_linear_to_y;
> bops->y_to_linear = copy_y_to_linear;
> - bops->linear_to_tile4 = copy_linear_to_tile4;
> - bops->tile4_to_linear = copy_tile4_to_linear;
>
> return bops;
> }
More information about the igt-dev
mailing list