drm/i915/kbl: Adding missing IS_KABYLAKE checks.
authorRodrigo Vivi <rodrigo.vivi@intel.com>
Fri, 8 Jan 2016 00:49:39 +0000 (16:49 -0800)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Fri, 8 Jan 2016 18:12:43 +0000 (10:12 -0800)
commit8d7a1c4a579c4ecfe360044c24dc1fbf97096752
treec792d5730dd818d6fbae766c530ac3f19c29a9e2
parentb5c0bbc4fe1acf7843639597ecdea59bc0037e9e
drm/i915/kbl: Adding missing IS_KABYLAKE checks.

When adding IS_KABYLAKE definition I didn't included the
DC states related because I was planing to include them
with the patch that fixes DMC firmware loading, but I
forgot them.

Meanwhile this runtime pm code changed a lot for
Skylake.

Well, I didn't expect that this would crash the machine
and I just noticed now that Sarah warned me our driver
wasn't working. Thanks Sarah.

Michel had found the main error first and his
fix had better details on the history and got
merged already:

commit 16fbc291cb87c7defcd13ad715d3e4af0d523e43
Author: Michel Thierry <michel.thierry@intel.com>
Date:   Wed Jan 6 12:08:36 2016 +0000

    drm/i915/kbl: Enable PW1 and Misc I/O power wells

This one is a follow-up adding the other remaining
missing pieces.

v2: Rebased on top of Michel's patch as explained above.

Cc: Sarah Sharp <sarah.a.sharp@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Michel Thierry <michel.thierry@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1452214179-22361-1-git-send-email-rodrigo.vivi@intel.com
drivers/gpu/drm/i915/intel_csr.c
drivers/gpu/drm/i915/intel_runtime_pm.c