Re: [igt-dev] [PATCH i-g-t] tests/kms_big_fb: Allow modeset to surivive change of cdclk

Ville Syrjälä
2020-04-20T17:17:36Z

On Mon, Apr 20, 2020 at 09:46:56AM +0300, Juha-Pekka Heikkila wrote:
> When testing 64bpp formats there will come modeset to change cdclk.
> Allow modesets on atomic commits so commits will not produce error.
>
> Signed-off-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>

Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>

> ---
> tests/kms_big_fb.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/tests/kms_big_fb.c b/tests/kms_big_fb.c
> index eb144da9..a754b299 100644
> --- a/tests/kms_big_fb.c
> +++ b/tests/kms_big_fb.c
> @@ -294,6 +294,7 @@ static bool test_plane(data_t *data)
> */
> if (i == 0 && data->display.is_atomic &&
> igt_display_try_commit_atomic(&data->display,
> + DRM_MODE_ATOMIC_ALLOW_MODESET |
> DRM_MODE_ATOMIC_TEST_ONLY,
> NULL) != 0) {
> if (igt_plane_has_prop(plane, IGT_PLANE_ROTATION))
> --
> 2.26.0
>
> _______________________________________________
> igt-dev mailing list
> igt-dev@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/igt-dev

--
Ville Syrjälä
Intel