]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/xe: Retry BO allocation
authorMatthew Brost <matthew.brost@intel.com>
Thu, 6 Mar 2025 01:26:26 +0000 (17:26 -0800)
committerMatthew Brost <matthew.brost@intel.com>
Thu, 6 Mar 2025 19:35:22 +0000 (11:35 -0800)
commit1d724a2f1b2c3f0cba4975784a808482e0631adf
tree86dc33218991531d66d05a415d236a5cecf69b45
parent5148da09dcd3f00913ddfc5d03901c4de56b61e3
drm/xe: Retry BO allocation

TTM doesn't support fair eviction via WW locking, this mitigated in by
using retry loops in exec and preempt rebind worker. Extend this retry
loop to BO allocation. Once TTM supports fair eviction this patch can be
reverted.

v4:
 - Keep line break (Stuart)

Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Gwan-gyeong Mun <gwan-gyeong.mun@intel.com>
Reviewed-by: Stuart Summers <stuart.summers@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250306012657.3505757-2-matthew.brost@intel.com
drivers/gpu/drm/xe/xe_bo.c