[igt-dev] [PATCH i-g-t 1/2] Revert "tests/kms_plane_alpha_blend: Align width to 256B"

Vidya Srinivas vidya.srinivas at intel.com
Wed Aug 4 02:56:36 UTC 2021


This reverts commit 6135b9cc319ed965e3aafb5b2ae2abf4762a06b2.

There was a rounding error in draw_squares which is now fixed.
To submit that change from Juha-Pekka, we need to revert this
change.

Signed-off-by: Vidya Srinivas <vidya.srinivas at intel.com>
---
 tests/kms_plane_alpha_blend.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/tests/kms_plane_alpha_blend.c b/tests/kms_plane_alpha_blend.c
index cb8f92891dd5..8616169e7ca2 100644
--- a/tests/kms_plane_alpha_blend.c
+++ b/tests/kms_plane_alpha_blend.c
@@ -168,7 +168,6 @@ static void prepare_crtc(data_t *data, igt_output_t *output, enum pipe pipe)
 	w = mode->hdisplay;
 	h = mode->vdisplay;
 
-	w = ALIGN(w, 256);
 	/* recreate all fbs if incompatible */
 	if (data->xrgb_fb.width != w || data->xrgb_fb.height != h) {
 		cairo_t *cr;
-- 
2.32.0



More information about the igt-dev mailing list