]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: do not mix workaround with normal flow
authorLucas De Marchi <lucas.demarchi@intel.com>
Thu, 4 Apr 2019 23:04:26 +0000 (16:04 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Tue, 30 Apr 2019 09:25:37 +0000 (02:25 -0700)
commitda17223e8539a7d4485d3c85677aa83e2fc74896
tree9e1a8dace6bfbb5ee6447bdde686d54a4358f69c
parent323b0a82efbff1c73fce3c7f2a49b7f850b7f983
drm/i915: do not mix workaround with normal flow

Separate the two comments: one is a workaround and the other is a sanity
check. We could just compare != 1, but let's treat them differently due
to having different meaning.

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-4-lucas.demarchi@intel.com
drivers/gpu/drm/i915/intel_pm.c