public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
From: "Ville Syrjälä" <ville.syrjala@linux.intel.com>
To: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
Cc: igt-dev@lists.freedesktop.org
Subject: Re: [igt-dev] [PATCH i-g-t] tests/kms_plane: survive cdclk caused modeset
Date: Fri, 17 Apr 2020 16:18:16 +0300	[thread overview]
Message-ID: <20200417131816.GN6112@intel.com> (raw)
In-Reply-To: <20200417101855.7759-1-juhapekka.heikkila@gmail.com>

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@gmail.com>

Reviewed-by: Ville Syrjälä <ville.syrjala@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@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/igt-dev

-- 
Ville Syrjälä
Intel
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

  parent reply	other threads:[~2020-04-17 13:18 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-17 10:18 [igt-dev] [PATCH i-g-t] tests/kms_plane: survive cdclk caused modeset Juha-Pekka Heikkila
2020-04-17 10:48 ` [igt-dev] ✓ Fi.CI.BAT: success for tests/kms_plane: survive cdclk caused modeset (rev2) Patchwork
2020-04-17 13:18 ` Ville Syrjälä [this message]
2020-04-18 10:08 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
  -- strict thread matches above, loose matches on Subject: below --
2020-04-07 11:09 [igt-dev] [PATCH i-g-t] tests/kms_plane: survive cdclk caused modeset Juha-Pekka Heikkila
2020-04-07 15:36 ` Ville Syrjälä
2020-04-07 15:54   ` Juha-Pekka Heikkila
2020-04-07 16:08     ` Ville Syrjälä
2020-04-07 16:22       ` Juha-Pekka Heikkila
2020-04-07 17:07         ` Juha-Pekka Heikkila
2020-04-07 17:10           ` Ville Syrjälä
2020-04-07 17:24             ` Juha-Pekka Heikkila
2020-04-07 17:42               ` Ville Syrjälä
2020-04-08 19:08                 ` Juha-Pekka Heikkila
2020-04-09 16:08                   ` Ville Syrjälä
2020-04-09 16:50                     ` Juha-Pekka Heikkila

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200417131816.GN6112@intel.com \
    --to=ville.syrjala@linux.intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=juhapekka.heikkila@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox