]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Add pre/post plane updates for SAGV
authorStanislav Lisovskiy <stanislav.lisovskiy@intel.com>
Wed, 15 Apr 2020 14:39:04 +0000 (17:39 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 17 Apr 2020 17:41:00 +0000 (20:41 +0300)
commitc6b1f382d50c46d6ccfd0f9517a470506c9a28e6
treed15911e3f9e985df91653213d09251124c54dce2
parentbda48ddf7fc6f9589f116ddd05af4807dd6d6e23
drm/i915: Add pre/post plane updates for SAGV

Lets have a unified way to handle SAGV changes,
espoecially considering the upcoming Gen12 changes.

Current "standard" way of doing this in commit_tail
is pre/post plane updates, when everything which
has to be forbidden and not supported in new config
has to be restricted before update and relaxed after
plane update.

v2: - Removed unneeded returns(Ville)

Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
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/20200415143911.10244-5-stanislav.lisovskiy@intel.com
drivers/gpu/drm/i915/display/intel_display.c
drivers/gpu/drm/i915/intel_pm.c
drivers/gpu/drm/i915/intel_pm.h