]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Extract skl SAGV checking
authorStanislav Lisovskiy <stanislav.lisovskiy@intel.com>
Wed, 13 May 2020 09:38:12 +0000 (12:38 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 13 May 2020 13:17:48 +0000 (16:17 +0300)
commit39fbb1a9ae7bd365100d4388aeaf08e519361829
tree5794716626783c482d39634672cfa6ff51ace144
parent38738e3b2f46df9e9db3212f760e646620bc1e4b
drm/i915: Extract skl SAGV checking

Introduce platform dependent SAGV checking in
combination with bandwidth state pipe SAGV mask.

This is preparation to adding TGL support, which
requires different way of SAGV checking.

v2, v3, v4, v5, v6: Fix rebase conflict

v7: - Nuke icl specific function, use skl
      for icl as well, gen specific active_pipes
      check to be added in the next patch(Ville)

v8: - Use more generic intel_crtc_can_enable_sagv
      for checking(Ville)

Signed-off-by: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200513093816.11466-3-stanislav.lisovskiy@intel.com
drivers/gpu/drm/i915/intel_pm.c