From: Michel Thierry Date: Wed, 14 Oct 2020 19:19:37 +0000 (-0700) Subject: drm/i915/dgfx: define llc and snooping behaviour X-Git-Tag: io_uring-5.11-2020-12-23~116^2~14^2~70 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=a4dbcf4175e5efead0d20315051a0e2708660a36;p=linux-block.git drm/i915/dgfx: define llc and snooping behaviour While we do lack the faster shared LLC, we should still have support for snooping over PCIe. Signed-off-by: Michel Thierry Signed-off-by: Matthew Auld Reviewed-by: Lucas De Marchi Signed-off-by: Lucas De Marchi Link: https://patchwork.freedesktop.org/patch/msgid/20201014191937.1266226-11-lucas.demarchi@intel.com --- diff --git a/drivers/gpu/drm/i915/i915_pci.c b/drivers/gpu/drm/i915/i915_pci.c index d0eeb2181e74..27964ac0638a 100644 --- a/drivers/gpu/drm/i915/i915_pci.c +++ b/drivers/gpu/drm/i915/i915_pci.c @@ -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 = {