[igt-dev] [PATCH i-g-t] tests/kms_plane: survive cdclk caused modeset
Ville Syrjälä
ville.syrjala at linux.intel.com
Fri Apr 17 13:18:16 UTC 2020
On Fri, Apr 17, 2020 at 01:18:54PM +0300, Juha-Pekka Heikkila wrote:
> In mid test starting to use higher bpp pixel format (say 64bpp)
> can cause modeset. Allow that modeset to happen.
>
> v2 Ville Syrjälä: use DRM_MODE_ATOMIC_ALLOW_MODESET instead
> of blocking.
>
> Fixes: https://gitlab.freedesktop.org/drm/intel/issues/1214
>
> Signed-off-by: Juha-Pekka Heikkila <juhapekka.heikkila at gmail.com>
Reviewed-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
> ---
> tests/kms_plane.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/tests/kms_plane.c b/tests/kms_plane.c
> index 805795cd..c6ead813 100644
> --- a/tests/kms_plane.c
> +++ b/tests/kms_plane.c
> @@ -574,6 +574,7 @@ static void capture_format_crcs(data_t *data, enum pipe pipe,
> * awaits to be latched.
> */
> igt_display_commit_atomic(&data->display,
> + DRM_MODE_ATOMIC_ALLOW_MODESET |
> DRM_MODE_ATOMIC_NONBLOCK |
> DRM_MODE_PAGE_FLIP_EVENT, NULL);
> } else {
> --
> 2.26.0
>
> _______________________________________________
> igt-dev mailing list
> igt-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/igt-dev
--
Ville Syrjälä
Intel
More information about the igt-dev
mailing list