Files
linux/drivers/gpu/drm/i915
Matthew Auld 151e0e0fdb drm/i915: consider HAS_FLAT_CCS() in needs_ccs_pages
Just move the HAS_FLAT_CCS() check into needs_ccs_pages. This also then
fixes i915_ttm_memcpy_allowed() which was incorrectly reporting true on
DG1, even though it doesn't have small-BAR or flat-CCS.

References: https://gitlab.freedesktop.org/drm/intel/-/issues/6605
Fixes: efeb3caf43 ("drm/i915/ttm: disallow CPU fallback mode for ccs pages")
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Nirmoy Das <nirmoy.das@intel.com>
Reviewed-by: Nirmoy Das <nirmoy.das@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220905105329.41455-1-matthew.auld@intel.com
(cherry picked from commit 873fef8833)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
2022-09-06 14:51:49 -04:00
..
2021-10-07 11:04:05 -07:00
2022-04-08 10:36:11 +02:00
2022-07-17 14:53:47 -04:00
2022-07-17 14:53:47 -04:00
2022-07-06 20:33:47 +03:00
2022-07-06 20:33:47 +03:00
2022-07-17 14:53:47 -04:00
2022-07-17 14:53:47 -04:00
2022-03-02 08:48:23 -08:00