public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t] lib/igt_draw: Only skip when width/x is not a multiple of 2.
@ 2018-10-30 11:26 Maarten Lankhorst
  2018-10-30 13:27 ` [igt-dev] ✗ Fi.CI.BAT: failure for " Patchwork
  2018-10-30 13:34 ` [igt-dev] [PATCH i-g-t] " Ville Syrjälä
  0 siblings, 2 replies; 4+ messages in thread
From: Maarten Lankhorst @ 2018-10-30 11:26 UTC (permalink / raw)
  To: igt-dev

Y and height have no such restrictions, since pixel size has no
relation to height.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
---
 lib/igt_draw.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/lib/igt_draw.c b/lib/igt_draw.c
index 05821480bc80..84dd212c1daf 100644
--- a/lib/igt_draw.c
+++ b/lib/igt_draw.c
@@ -581,9 +581,7 @@ static void draw_rect_render(int fd, struct cmd_data *cmd_data,
 	 * smaller bpps you won't succeeed if you need to copy "half" of a 32bpp
 	 * pixel or something similar. */
 	igt_skip_on(rect->x % (32 / buf->bpp) != 0 ||
-		    rect->y % (32 / buf->bpp) != 0 ||
-		    rect->w % (32 / buf->bpp) != 0 ||
-		    rect->h % (32 / buf->bpp) != 0);
+		    rect->w % (32 / buf->bpp) != 0);
 
 	igt_require(gem_get_tiling(fd, buf->handle, &tiling, &swizzle));
 
-- 
2.19.1

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-11-16 10:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-30 11:26 [igt-dev] [PATCH i-g-t] lib/igt_draw: Only skip when width/x is not a multiple of 2 Maarten Lankhorst
2018-10-30 13:27 ` [igt-dev] ✗ Fi.CI.BAT: failure for " Patchwork
2018-10-30 13:34 ` [igt-dev] [PATCH i-g-t] " Ville Syrjälä
2018-11-16 10:16   ` Maarten Lankhorst

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox