Re: [PATCH i-g-t 4/5] tests/intel/xe_pat: Use intel_get_defer_to_pat_mocs_index() to exercise coherency

Matthew Auld
2026-02-17T11:05:22Z

On 13/02/2026 08:46, priyanka.dandamudi@intel.com wrote:
> From: Priyanka Dandamudi <priyanka.dandamudi@intel.com>
>
> With the existing moc indices the render and blit with be uncached on GPU side,
> cached MOCS setting need to be selected specifically for blitter and render.
> Otherwise the caching in the PAT index is overridden which means GPU vs CPU coherency
> will not be exercised completely.
> So, used intel_get_defer_to_pat_mocs_index() for xe2 and above versions
> otherwise keep the existing UC MOCS setting.
>
> Signed-off-by: Priyanka Dandamudi <priyanka.dandamudi@intel.com>

Reviewed-by: Matthew Auld <matthew.auld@intel.com>