]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: reorder if chain to have last gen first
authorLucas De Marchi <lucas.demarchi@intel.com>
Thu, 4 Apr 2019 23:04:25 +0000 (16:04 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Tue, 30 Apr 2019 09:25:37 +0000 (02:25 -0700)
commitcf1e3f21be49382aec2c619f487275243db76c94
tree85e1313c01e111776af7a894413a8a67263d4e67
parent5e8e7eb382e25426c69b99f3ffe70c048cbd87a6
drm/i915: reorder if chain to have last gen first

Reorder if/else so we check for gen >= 11 first, similar to most of
other checks in the driver.

Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190404230426.15837-3-lucas.demarchi@intel.com
drivers/gpu/drm/i915/intel_pm.c