]> 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)
commit0cce439c7c9e4894e600c69779610fe69849791b
tree5794716626783c482d39634672cfa6ff51ace144
parent61c7bf8b09f15ddfd1ab392e97d6fbe055c23c2d
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