]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Use HAS_CSR instead of gen number on DMC load.
authorRodrigo Vivi <rodrigo.vivi@intel.com>
Fri, 9 Jun 2017 22:26:11 +0000 (15:26 -0700)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Mon, 12 Jun 2017 16:45:30 +0000 (09:45 -0700)
commita3c502c14b53ef93ea955b4566120f2a1ec7484b
tree4cd6e42fd9dbd3bedbb15e0d639d0cfaa88ec3e7
parent9722da8a59adfa09c4678e4f0deb1e89dd09585f
drm/i915: Use HAS_CSR instead of gen number on DMC load.

Since we have HAS_CSR tied to the platform definition
let's use this instead of checking per platform.

One less thing to worry when adding support to new platforms.

Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Animesh Manna<animesh.manna@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1497047175-27250-14-git-send-email-rodrigo.vivi@intel.com
drivers/gpu/drm/i915/intel_csr.c