[PATCH i-g-t] tests/kms_debugfs: Add a commit after igt_fit_modes_in_bw
Reddy Guddati, Santhosh
santhosh.reddy.guddati at intel.com
Thu Jul 17 03:50:15 UTC 2025
On 17-07-2025 08:50, Karthik B S wrote:
> A commit is required after igt_fit_modes_in_bw as this function only
> does a try commit.
>
> Fixes: ebe65a923a2b ("tests: Add kms_debugfs")
> Signed-off-by: Karthik B S <karthik.b.s at intel.com>
LGTM,
Reviewed-by: Santhosh Reddy Guddati <santhosh.reddy.guddati at intel.com>> ---
> tests/kms_debugfs.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/tests/kms_debugfs.c b/tests/kms_debugfs.c
> index f8a3360e6..75ef15353 100644
> --- a/tests/kms_debugfs.c
> +++ b/tests/kms_debugfs.c
> @@ -66,6 +66,8 @@ static void igt_display_all_on(igt_display_t *display)
>
> /* Skip if bandwidth is insufficient for all simultaneous displays */
> igt_require(igt_fit_modes_in_bw(display));
> +
> + igt_display_commit2(display, display->is_atomic ? COMMIT_ATOMIC : COMMIT_LEGACY);
> }
>
> /**
More information about the igt-dev
mailing list