drm/i915/ehl: Inherit Ice Lake conditional code
authorBob Paauwe <bob.j.paauwe@intel.com>
Fri, 12 Apr 2019 18:09:20 +0000 (11:09 -0700)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Fri, 12 Apr 2019 22:15:01 +0000 (15:15 -0700)
commit39564ae86d51ada75759c859770c8d973b458eec
tree5c015c07245546280ff47b12bf63813e27e77923
parent5ce5f61b70f97bd664f7a20aeffd9574d17ab350
drm/i915/ehl: Inherit Ice Lake conditional code

Most of the conditional code for ICELAKE also applies to ELKHARTLAKE
so use IS_GEN(dev_priv, 11) even for PM and Workarounds for now.

v2: - Rename commit (Jose)
    - Include a wm workaround (Jose and Lucas)
    - Include display core init (Jose and Lucas)
v3: Add a missing case of gen greater-than 11 (Jose)

Cc: José Roberto de Souza <jose.souza@intel.com>
Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Bob Paauwe <bob.j.paauwe@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190412180920.22347-1-rodrigo.vivi@intel.com
drivers/gpu/drm/i915/intel_pm.c
drivers/gpu/drm/i915/intel_runtime_pm.c
drivers/gpu/drm/i915/intel_workarounds.c