]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Update dbuf slices only with full modeset
authorStanislav Lisovskiy <stanislav.lisovskiy@intel.com>
Sun, 2 Feb 2020 23:06:27 +0000 (01:06 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 5 Feb 2020 17:15:58 +0000 (19:15 +0200)
commitdcccaf0f8b3a7084b3241ce02b900e6eedfe11de
tree56156c2ad4558f45f12a3f2146aac408e4a4c22f
parent066ec0940b5be5427b3d3a30d1aa539fe4f2612a
drm/i915: Update dbuf slices only with full modeset

During full modeset, global state(i.e dev_priv) is protected
by locking the crtcs in state, otherwise global state is not
serialized. Also if it is not a full modeset, we anyway
don't need to change DBuf slice configuration as Pipe configuration
doesn't change.

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/20200202230630.8975-4-stanislav.lisovskiy@intel.com
drivers/gpu/drm/i915/display/intel_display.c