]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Update legacy primary state outside the commit hook, v2.
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Wed, 23 Sep 2015 14:29:36 +0000 (16:29 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 19 Oct 2015 09:37:48 +0000 (11:37 +0200)
commitc1b3d6a8a465240c526d613928534cf4a2ba3ce4
tree9f6daf9bb3d455f7ef4ea6d94cb8e765e9f1fe1f
parentbde60dd640c7f4d4d106d672b9281e6df78cb154
drm/i915: Update legacy primary state outside the commit hook, v2.

This should allow not running plane commit when the crtc is off.
While the atomic helpers update those, crtc->x/y is only updated
during modesets, and primary plane is updated after this function
returns.

Unfortunately non-atomic watermarks and fbc still depend on this
state inside i915, so it has to be kept in sync.

Changes since v1:
- Add comment that the legacy state is updated for fbc.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c