drm/i915/dgfx: define llc and snooping behaviour
authorMichel Thierry <michel.thierry@intel.com>
Wed, 14 Oct 2020 19:19:37 +0000 (12:19 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Thu, 15 Oct 2020 22:30:23 +0000 (15:30 -0700)
While we do lack the faster shared LLC, we should still have support
for snooping over PCIe.

Signed-off-by: Michel Thierry <michel.thierry@intel.com>
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201014191937.1266226-11-lucas.demarchi@intel.com
drivers/gpu/drm/i915/i915_pci.c

index d0eeb21..27964ac 100644 (file)
@@ -908,6 +908,8 @@ static const struct intel_device_info rkl_info = {
        GEN12_FEATURES, \
        .memory_regions = REGION_SMEM | REGION_LMEM, \
        .has_master_unit_irq = 1, \
+       .has_llc = 0, \
+       .has_snoop = 1, \
        .is_dgfx = 1
 
 static const struct intel_device_info dg1_info __maybe_unused = {