drm/i915: Move device_info.has_snoop into the static tables
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 6 Sep 2017 10:56:53 +0000 (11:56 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 6 Sep 2017 18:14:44 +0000 (19:14 +0100)
commit5d95c24867aea8a065a50faf95167a07c8e6bf02
tree39c592ab25718a5a0d45e2ad0777318b93b8efa0
parent90cad095eeaa43711d60066096cddaf0d3b58bf6
drm/i915: Move device_info.has_snoop into the static tables

Currently we define any !llc machine as using snoop instead. However,
some platforms run into trouble using snoop that we would like to
disable, and to do so easily we want to be able to use the static
device_info tables.

v2: Leave the old snoop = !llc as a warning for the time being to check
that all stanzas are filled as either llc or snoop.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20170906105653.3665-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_pci.c
drivers/gpu/drm/i915/intel_device_info.c