]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Prepare to extract gen specific functions from intel_can_enable_sagv
authorStanislav Lisovskiy <stanislav.lisovskiy@intel.com>
Wed, 15 Apr 2020 14:57:40 +0000 (17:57 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 17 Apr 2020 17:41:00 +0000 (20:41 +0300)
commitbda48ddf7fc6f9589f116ddd05af4807dd6d6e23
treebe30e83ca451b88c5ce26c6d940b3e15dfd99a74
parentc40374ed2f5093970f412c060ba330834fd15a75
drm/i915: Prepare to extract gen specific functions from intel_can_enable_sagv

Addressing one of the comments, recommending to extract platform
specific code from intel_can_enable_sagv as a preparation, before
we are going to add support for tgl+.

v2: - Removed whitespace
v3: - Removed premature debug and new cycle introduction(Ville)
    - Added missing no active pipes check(Ville)
v4: - Fixed stupid mistake with plane_state caused by stupid macro change

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/20200415145740.28241-1-stanislav.lisovskiy@intel.com
drivers/gpu/drm/i915/intel_pm.c