drm/i915/skl: Take 90/270 rotation into account in watermark calculations
v2: Pass in rotation info to sprite plane updates as well. v3: Use helper to determine 90/270 rotation. (Michel Thierry) v4: Rebased for fb modifiers and atomic changes. For: VIZ-4546 Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Reviewed-by: Michel Thierry <michel.thierry@intel.com> (v3) Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:

committed by
Daniel Vetter

parent
121920faf2
commit
1fc0a8f7c4
@@ -1039,10 +1039,7 @@ finish:
|
||||
if (!intel_crtc->primary_enabled && !state->hides_primary)
|
||||
intel_crtc->atomic.post_enable_primary = true;
|
||||
|
||||
/* Update watermarks on tiling changes. */
|
||||
if (!plane->state->fb || !state->base.fb ||
|
||||
plane->state->fb->modifier[0] !=
|
||||
state->base.fb->modifier[0])
|
||||
if (intel_wm_need_update(plane, &state->base))
|
||||
intel_crtc->atomic.update_wm = true;
|
||||
|
||||
if (!state->visible) {
|
||||
|
Reference in New Issue
Block a user