]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcb95fc349ba0c5eb93620b6a91ca416f6db9ebf4
tree39c592ab25718a5a0d45e2ad0777318b93b8efa0
parent8b3d903ddc55bcb3c813b53543b42d122c3d7d80
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