All of lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t] lib/intel_batchbuffer: Reuse gen9_media_fill on Gen 10
@ 2018-04-16  7:39 Katarzyna Dec
  2018-04-16  9:53 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
  2018-04-17  8:12 ` [igt-dev] [PATCH i-g-t] " Szwichtenberg, Radoslaw
  0 siblings, 2 replies; 5+ messages in thread
From: Katarzyna Dec @ 2018-04-16  7:39 UTC (permalink / raw)
  To: igt-dev; +Cc: Lucas De Marchi, Rodrigo Vivi

Media fill function can be reused on Gen10. Code has not
changed. Let's reuse gen9.

Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Signed-off-by: Katarzyna Dec <katarzyna.dec@intel.com>
---
 lib/intel_batchbuffer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/intel_batchbuffer.c b/lib/intel_batchbuffer.c
index 10d4dce8..53ddae24 100644
--- a/lib/intel_batchbuffer.c
+++ b/lib/intel_batchbuffer.c
@@ -794,7 +794,7 @@ igt_fillfunc_t igt_get_media_fillfunc(int devid)
 {
 	igt_fillfunc_t fill = NULL;
 
-	if (IS_GEN9(devid))
+	if (IS_GEN9(devid) || IS_GEN10(devid))
 		fill = gen9_media_fillfunc;
 	else if (IS_GEN8(devid))
 		fill = gen8_media_fillfunc;
-- 
2.14.3

_______________________________________________
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:[~2018-04-18 16:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-16  7:39 [igt-dev] [PATCH i-g-t] lib/intel_batchbuffer: Reuse gen9_media_fill on Gen 10 Katarzyna Dec
2018-04-16  9:53 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2018-04-17  8:12 ` [igt-dev] [PATCH i-g-t] " Szwichtenberg, Radoslaw
2018-04-17 10:44   ` Kalamarz, Lukasz
2018-04-18 16:43     ` Michał Winiarski

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.