All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t v3 1/6] lib/rendercopy_gen9: use MOCS index helper
@ 2024-03-06 15:04 Matthew Auld
  2024-03-06 15:04 ` [PATCH i-g-t v3 2/6] lib/gpu_cmds: default to uc MOCS index Matthew Auld
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Matthew Auld @ 2024-03-06 15:04 UTC (permalink / raw
  To: igt-dev; +Cc: Zbigniew Kempczyński, Nirmoy Das

UC looks to be the sensible default here, since it will work with
display engine if rendering onto scanout surface. Use the matching
helper.

Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com>
Reviewed-by: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com>
Reviewed-by: Nirmoy Das <nirmoy.das@intel.com>
---
 lib/rendercopy_gen9.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/lib/rendercopy_gen9.c b/lib/rendercopy_gen9.c
index efd7cb37c..404406e5f 100644
--- a/lib/rendercopy_gen9.c
+++ b/lib/rendercopy_gen9.c
@@ -180,10 +180,7 @@ gen9_bind_buf(struct intel_bb *ibb, const struct intel_buf *buf, int is_dst,
 	ss->ss0.horizontal_alignment = 1; /* align 4 or HALIGN_32 on display ver >= 13*/
 
 	if (HAS_4TILE(ibb->devid)) {
-		/*
-		 * mocs table version 1 index 3 groub wb use l3
-		 */
-		ss->ss1.mocs_index = 3;
+		ss->ss1.mocs_index = intel_get_uc_mocs_index(i915);
 		ss->ss5.mip_tail_start_lod = 0;
 	} else {
 		ss->ss0.render_cache_read_write = 1;
-- 
2.43.2


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

end of thread, other threads:[~2024-03-07 14:34 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-06 15:04 [PATCH i-g-t v3 1/6] lib/rendercopy_gen9: use MOCS index helper Matthew Auld
2024-03-06 15:04 ` [PATCH i-g-t v3 2/6] lib/gpu_cmds: default to uc MOCS index Matthew Auld
2024-03-06 15:04 ` [PATCH i-g-t v3 3/6] lib/intel_buf: revamp MOCS usage Matthew Auld
2024-03-06 15:04 ` [PATCH i-g-t v3 4/6] lib/intel_buf: expose mocs_index Matthew Auld
2024-03-06 15:04 ` [PATCH i-g-t v3 5/6] lib/intel_mocs: add defer-to-pat MOCS index Matthew Auld
2024-03-06 15:04 ` [PATCH i-g-t v3 6/6] tests/intel/xe_pat: verify wb-transient with pipe crc Matthew Auld
2024-03-06 17:54 ` ✓ Fi.CI.BAT: success for series starting with [i-g-t,v3,1/6] lib/rendercopy_gen9: use MOCS index helper Patchwork
2024-03-06 17:57 ` ✓ CI.xeBAT: " Patchwork
2024-03-07 14:34 ` ✗ Fi.CI.IGT: failure " Patchwork

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.