]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit39d4d654617fee3c1e756c6b5e9142b60c0ad478
tree5c015c07245546280ff47b12bf63813e27e77923
parenta26b20599f085012eab38cde0dcd8c9e4a379e93
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