]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/i95: Mark GGTT as incoherent for gen10+
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 1 Aug 2018 10:47:21 +0000 (11:47 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 1 Aug 2018 13:13:06 +0000 (14:13 +0100)
The evidence suggests that we need to start treating writes via GGTT as
incoherent for gen10+, that is that they are internally buffered and not
immediately visible via a read along a different physical path.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107398
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107400
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107435
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180801104721.4030-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_pci.c

index e443fe44da3acd48190ccaef45c3959279f419ed..adf80563d0a1d7a79020220fcd42f359c177e862 100644 (file)
@@ -590,6 +590,7 @@ static const struct intel_device_info intel_coffeelake_gt3_info = {
        GEN9_FEATURES, \
        GEN(10), \
        .ddb_size = 1024, \
+       .has_coherent_ggtt = false, \
        GLK_COLORS
 
 static const struct intel_device_info intel_cannonlake_info = {