All of lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t v1] igt/lib: Start using x and y params for gpu walk
@ 2019-07-29 14:15 Stanislav Lisovskiy
  2019-07-29 16:22 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Stanislav Lisovskiy @ 2019-07-29 14:15 UTC (permalink / raw)
  To: igt-dev; +Cc: stanislav.lisovskiy, ville.syrjala, martin.peres

While doing some gpu fill based tests, noticed that
actually the x and y parameters do not affect the
filled area at all.
After short study looks like gen8_gpgpu_walk was not
using those at all.
Started using those according to bspec, so now it is
actually possible to use initial x and y values.

Signed-off-by: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>
---
 lib/gpu_cmds.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/gpu_cmds.c b/lib/gpu_cmds.c
index 8d270ee8..48ddfa0c 100644
--- a/lib/gpu_cmds.c
+++ b/lib/gpu_cmds.c
@@ -681,12 +681,12 @@ gen8_emit_gpgpu_walk(struct intel_batchbuffer *batch,
 		  0); /* width:1 */
 
 	/* thread group X */
-	OUT_BATCH(0);
+	OUT_BATCH(x);
 	OUT_BATCH(0);
 	OUT_BATCH(x_dim);
 
 	/* thread group Y */
-	OUT_BATCH(0);
+	OUT_BATCH(y);
 	OUT_BATCH(0);
 	OUT_BATCH(y_dim);
 
-- 
2.17.1

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

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

end of thread, other threads:[~2019-08-07  8:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-29 14:15 [igt-dev] [PATCH i-g-t v1] igt/lib: Start using x and y params for gpu walk Stanislav Lisovskiy
2019-07-29 16:22 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2019-07-29 17:01 ` [igt-dev] ✗ GitLab.Pipeline: warning " Patchwork
2019-07-30  1:14 ` [igt-dev] ✓ Fi.CI.IGT: success " Patchwork
2019-08-07  8:36 ` [igt-dev] [PATCH i-g-t v1] " Lisovskiy, Stanislav

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.