]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Store platform_mask inside the static device info
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 15 Feb 2018 08:19:30 +0000 (08:19 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 15 Feb 2018 16:23:11 +0000 (16:23 +0000)
commitc26030112cb195fa92a1911d9b4d3b4e77a574e8
tree811b2195291c3229b4df5bcdccfc33d877e133fa
parente0b8cbaeb75365ecc24c4f127de5dcce2785c55f
drm/i915: Store platform_mask inside the static device info

Rather than deriving the platform_mask from the
intel_device_static_info->platform at runtime, pre-fill it in the static
data.

v2: Undefine macros at end of their scope

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180215081930.11477-3-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_drv.c
drivers/gpu/drm/i915/i915_pci.c