]> 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)
commit1d0a6c8486aa53f7545e80f5f0293ed99e48ffc0
tree5794716626783c482d39634672cfa6ff51ace144
parentd9162348db12487754e61f73497bdcfcea753590
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