]> www.infradead.org Git - users/hch/block.git/commit
drm/i915/gt: Limit the reserved VM space to only the platforms that need it
authorAndi Shyti <andi.shyti@linux.intel.com>
Wed, 27 Mar 2024 20:05:46 +0000 (21:05 +0100)
committerAndi Shyti <andi.shyti@linux.intel.com>
Thu, 28 Mar 2024 19:19:11 +0000 (20:19 +0100)
commit9721634441d5dedba7f9eebb2bf0c9411cbafc4e
tree6aaa3aec2c24c1128d6fb717451ae01db143bc8c
parent98850e96cf811dc2d0a7d0af491caff9f5d49c1e
drm/i915/gt: Limit the reserved VM space to only the platforms that need it

Commit 9bb66c179f50 ("drm/i915: Reserve some kernel space per
vm") reduces the available VM space of one page in order to apply
Wa_16018031267 and Wa_16018063123.

This page was reserved indiscrimitely in all platforms even when
not needed. Limit it to DG2 onwards.

Fixes: 9bb66c179f50 ("drm/i915: Reserve some kernel space per vm")
Signed-off-by: Andi Shyti <andi.shyti@linux.intel.com>
Cc: Andrzej Hajda <andrzej.hajda@intel.com>
Cc: Chris Wilson <chris.p.wilson@linux.intel.com>
Cc: Jonathan Cavitt <jonathan.cavitt@intel.com>
Cc: Nirmoy Das <nirmoy.das@intel.com>
Reviewed-by: Nirmoy Das <nirmoy.das@intel.com>
Acked-by: Michal Mrozek <michal.mrozek@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240327200546.640108-1-andi.shyti@linux.intel.com
drivers/gpu/drm/i915/gt/gen8_ppgtt.c
drivers/gpu/drm/i915/gt/intel_gt.c
drivers/gpu/drm/i915/gt/intel_gt.h