[PATCH i-g-t 08/12] lib/intel_bufops: Drop unnecessary Tile4 function assignment

Zbigniew Kempczyński zbigniew.kempczynski at intel.com
Mon May 27 07:33:41 UTC 2024


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



More information about the igt-dev mailing list