]> 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)
commit5194febfc38c393b8b8b1126f54aa6c2cd7d0d9b
tree9e1a8dace6bfbb5ee6447bdde686d54a4358f69c
parentcf1e3f21be49382aec2c619f487275243db76c94
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