From: Mika Kahola <mika.kahola@intel.com>
To: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
intel-gfx@lists.freedesktop.org
Subject: Re: [PATCH i-g-t] tests/kms_plane_lowres: Add DRM_MODE_ATOMIC_ALLOW_MODESET test
Date: Wed, 08 Mar 2017 15:45:40 +0200 [thread overview]
Message-ID: <1488980740.12758.39.camel@intel.com> (raw)
In-Reply-To: <6e612be5-5064-788b-adcf-d9316ce25349@linux.intel.com>
On Wed, 2017-03-08 at 13:38 +0100, Maarten Lankhorst wrote:
> Hey,
>
> Op 07-02-17 om 14:33 schreef Mika Kahola:
> >
> > When doing a full atomic modeset, kernel should fail if the flag
> > DRM_MODE_ATOMIC_ALLOW_MODESET is not set. Let's add this test as
> > part of
> > 'kms_plane_lowres' testset. The testcases are 'pipe-x-allow-
> > modeset' where
> > x stands for pipe in question.
> >
> > For: VIZ-6955
> I think it makes sense for this to be a standalone test,
> kms_atomic_allow_modeset.
> igt_display
>
> It should be trying the following:
>
> 0. Add a way to control the active property to lib/igt_kms.c either
> auto (backwards compatible), off or on.
> 1. Toggling the active property only, with and without mode set.
> (Testing active_changed vs modeset flag)
> 2. With the active property set to disabled (dpms off), try to set
> and unset the mode. (Testing mode_changed vs modeset flag)
> 3. Try swapping connectors on a crtc. (Testing connectors_changed vs
> modeset flag)
>
> With and without TEST_ONLY. :)
Thanks Maarten for review. I guess it's back to the drawing board then
:)
I could change the test as a standalone one that tests
DRM_MODE_ATOMIC_ALLOW_MODESET flag with dpms on/off.
>
> I think that makes more sense than changing a unrelated test.
>
> Cheers,
> ~Maarten
--
Mika Kahola - Intel OTC
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
next prev parent reply other threads:[~2017-03-08 13:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-07 13:33 [PATCH i-g-t] tests/kms_plane_lowres: Add DRM_MODE_ATOMIC_ALLOW_MODESET test Mika Kahola
2017-03-08 12:38 ` Maarten Lankhorst
2017-03-08 13:45 ` Mika Kahola [this message]
2017-03-08 14:01 ` Maarten Lankhorst
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=1488980740.12758.39.camel@intel.com \
--to=mika.kahola@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=maarten.lankhorst@linux.intel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.