]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/xe: Invalidate media_gt TLBs in PT code
authorMatthew Brost <matthew.brost@intel.com>
Mon, 26 Aug 2024 17:01:44 +0000 (10:01 -0700)
committerMatthew Brost <matthew.brost@intel.com>
Fri, 30 Aug 2024 18:41:26 +0000 (11:41 -0700)
commitbf758226c7e6927f1c2c34fd6eb2cb580b77f543
tree89373ad6ed9c1bdb399f4be0f6ac77a5ee91f5da
parentddc94d0b17e8ea8179ecbbefacac3fba0fb77265
drm/xe: Invalidate media_gt TLBs in PT code

Testing on LNL has shown media GT's TLBs need to be invalidated via the
GuC, update PT code appropriately.

v2:
 - Do dma_fence_get before first call of invalidation_fence_init (Himal)
 - No need to check for valid chain fence (Himal)
v3:
 - Use dma-fence-array

Fixes: 3330361543fc ("drm/xe/lnl: Add LNL platform definition")
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Acked-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240826170144.2492062-3-matthew.brost@intel.com
drivers/gpu/drm/xe/xe_pt.c