summaryrefslogtreecommitdiff
path: root/mm/page_reporting.c
diff options
context:
space:
mode:
authorChris Wilson <chris.p.wilson@intel.com>2022-07-27 14:29:51 +0200
committerAndi Shyti <andi.shyti@linux.intel.com>2022-07-28 13:47:01 +0200
commit4bedceaed1ae1172cfe72d3ff752b3a1d32fe4d9 (patch)
tree0bdf3c43785a4c3f056b50469c90a8c5b256847b /mm/page_reporting.c
parent353819d85f87be46aeb9c1dd929d445a006fc6ec (diff)
drm/i915/gt: Ignore TLB invalidations on idle engines
Check if the device is powered down prior to any engine activity, as, on such cases, all the TLBs were already invalidated, so an explicit TLB invalidation is not needed, thus reducing the performance regression impact due to it. This becomes more significant with GuC, as it can only do so when the connection to the GuC is awake. Cc: stable@vger.kernel.org Fixes: 7938d61591d3 ("drm/i915: Flush TLBs before releasing backing store") Signed-off-by: Chris Wilson <chris.p.wilson@intel.com> Cc: Fei Yang <fei.yang@intel.com> Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com> Acked-by: Thomas Hellström <thomas.hellstrom@linux.intel.com> Acked-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org> Signed-off-by: Andi Shyti <andi.shyti@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/278a57a672edac75683f0818b292e95da583a5fe.1658924372.git.mchehab@kernel.org
Diffstat (limited to 'mm/page_reporting.c')
0 files changed, 0 insertions, 0 deletions