]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Make active_pipes check skl specific
authorStanislav Lisovskiy <stanislav.lisovskiy@intel.com>
Wed, 13 May 2020 09:38:13 +0000 (12:38 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 13 May 2020 13:21:20 +0000 (16:21 +0300)
commit493b9f4cb2f155e9ebcd317d84e93c65b8cc906f
tree75d2d5b21c22e7bae44969ab2f5a897998c19db8
parent39fbb1a9ae7bd365100d4388aeaf08e519361829
drm/i915: Make active_pipes check skl specific

Seems that only skl needs to have SAGV turned off
for multipipe scenarios, so lets do it this way.

If anything blows up - we can always revert this patch.

v2: Changed if condition to look better (Ville).

Signed-off-by: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>
[vsyrjala: wrapped long line to appease checkpatch]
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200513093816.11466-4-stanislav.lisovskiy@intel.com
drivers/gpu/drm/i915/intel_pm.c
drivers/gpu/drm/i915/intel_pm.h