diff options
author | Daniele Ceraolo Spurio <[email protected]> | 2022-11-10 09:58:23 -0800 |
---|---|---|
committer | Daniele Ceraolo Spurio <[email protected]> | 2022-12-05 14:40:25 -0800 |
commit | f2053d346615f2c6bb4c0663276274b2da3f6871 (patch) | |
tree | 1f29c811fb2c04786ecb17836fe1f4457c047f3f /drivers/gpu/drm/i915/selftests/i915_request.c | |
parent | c46c5fb725bedd73cf33511b6a52d82b57eaba2a (diff) |
drm/i915/guc: enable GuC GGTT invalidation from the start
Invalidating the GuC TLBs while GuC is not loaded does not have negative
consequences, so if we're starting the driver with GuC enabled we can
use the GGTT invalidation function from the get-go, instead of switching
to it when we initialize the GuC objects.
In MTL, this fixes and issue where we try to overwrite the invalidation
function twice (once for each GuC), due to the GGTT being shared between
the primary and media GTs
Signed-off-by: Daniele Ceraolo Spurio <[email protected]>
Cc: Matt Roper <[email protected]>
Cc: Radhakrishna Sripada <[email protected]>
Cc: John Harrison <[email protected]>
Cc: Aravind Iddamsetty <[email protected]>
Reviewed-by: John Harrison <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/i915/selftests/i915_request.c')
0 files changed, 0 insertions, 0 deletions