Skip to content

Commit 88a173e

Browse files
vsyrjalajnikula
authored andcommitted
drm/i915: Reject async flips with bigjoiner
Currently async flips are busted when bigjoiner is in use. As a short term fix simply reject async flips in that case. Cc: [email protected] Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/9769 Signed-off-by: Ville Syrjälä <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Reviewed-by: Stanislav Lisovskiy <[email protected]> (cherry picked from commit e93bffc) Signed-off-by: Jani Nikula <[email protected]>
1 parent 768f17f commit 88a173e

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

drivers/gpu/drm/i915/display/intel_display.c

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6033,6 +6033,17 @@ static int intel_async_flip_check_uapi(struct intel_atomic_state *state,
60336033
return -EINVAL;
60346034
}
60356035

6036+
/*
6037+
* FIXME: Bigjoiner+async flip is busted currently.
6038+
* Remove this check once the issues are fixed.
6039+
*/
6040+
if (new_crtc_state->bigjoiner_pipes) {
6041+
drm_dbg_kms(&i915->drm,
6042+
"[CRTC:%d:%s] async flip disallowed with bigjoiner\n",
6043+
crtc->base.base.id, crtc->base.name);
6044+
return -EINVAL;
6045+
}
6046+
60366047
for_each_oldnew_intel_plane_in_state(state, plane, old_plane_state,
60376048
new_plane_state, i) {
60386049
if (plane->pipe != crtc->pipe)

0 commit comments

Comments
 (0)