]> www.infradead.org Git - users/hch/configfs.git/commit
drm/xe: Use ttm_uncached for BO with NEEDS_UC flag
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Tue, 18 Jun 2024 10:49:47 +0000 (12:49 +0200)
committerMichal Wajdeczko <michal.wajdeczko@intel.com>
Wed, 19 Jun 2024 11:45:16 +0000 (13:45 +0200)
commit8e7455dd0dedf88332f249f8b1e50bc554e4c1e3
tree6408f51c060fa86031a13f0c1faecbdeca76d6fc
parentcffd77865f476994680892601e09bc2164179907
drm/xe: Use ttm_uncached for BO with NEEDS_UC flag

We should honor requested uncached mode also at the TTM layer.
Otherwise, we risk losing updates to the memory based interrupts
source or status vectors, as those require uncached memory.

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Cc: Matt Roper <matthew.d.roper@intel.com>
Acked-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240618104947.729-1-michal.wajdeczko@intel.com
drivers/gpu/drm/xe/xe_bo.c