]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Use HAS_PCH_SPLIT to determine correct devices
authorWayne Boyer <wayne.boyer@intel.com>
Mon, 7 Dec 2015 18:51:07 +0000 (10:51 -0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 10 Dec 2015 10:07:29 +0000 (11:07 +0100)
commitab56a9ffc8d71b6d7652cdd78c4a6d843ba30a58
tree450605b0cc5b6ee488370853b5ac124272dbb092
parentd3bf52696be969c0210d9dc8f6cdf542fcb78933
drm/i915: Use HAS_PCH_SPLIT to determine correct devices

Do some further clean up based on the initial review of
drm/i915: Separate cherryview from valleyview.

In this case check for '(GEN7 || GEN8) && HAS_PCH_SPLIT' since we're
reading FUSE_STRAP and SFUSE_STRAP which live in the PCH.

Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Wayne Boyer <wayne.boyer@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1449514270-15171-3-git-send-email-wayne.boyer@intel.com
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
drivers/gpu/drm/i915/i915_dma.c