* [PATCH i-g-t] kms_atomic: Skip rather than fail on non-atomic drivers
@ 2016-04-04 21:17 Matt Roper
2016-04-05 13:02 ` Daniel Stone
0 siblings, 1 reply; 3+ messages in thread
From: Matt Roper @ 2016-04-04 21:17 UTC (permalink / raw)
To: intel-gfx
i915 does not yet support the atomic modesetting interface by default;
at the moment it must be turned on explicitly via an
'i915.nuclear_pageflip' kernel command line option. We should skip
(rather than fail) this IGT test when running on kernels that don't
advertise support for atomic modesetting.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93014
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
---
tests/kms_atomic.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/kms_atomic.c b/tests/kms_atomic.c
index 2f3080a..6a6cfa7 100644
--- a/tests/kms_atomic.c
+++ b/tests/kms_atomic.c
@@ -723,7 +723,7 @@ static void atomic_setup(struct kms_atomic_state *state)
desc->fd = drm_open_driver_master(DRIVER_INTEL);
igt_assert_fd(desc->fd);
- do_or_die(drmSetClientCap(desc->fd, DRM_CLIENT_CAP_ATOMIC, 1));
+ igt_skip_on(drmSetClientCap(desc->fd, DRM_CLIENT_CAP_ATOMIC, 1));
res = drmModeGetResources(desc->fd);
res_plane = drmModeGetPlaneResources(desc->fd);
--
2.1.4
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH i-g-t] kms_atomic: Skip rather than fail on non-atomic drivers
2016-04-04 21:17 [PATCH i-g-t] kms_atomic: Skip rather than fail on non-atomic drivers Matt Roper
@ 2016-04-05 13:02 ` Daniel Stone
2016-04-05 14:43 ` Matt Roper
0 siblings, 1 reply; 3+ messages in thread
From: Daniel Stone @ 2016-04-05 13:02 UTC (permalink / raw)
To: Matt Roper; +Cc: intel-gfx
Hi,
On 4 April 2016 at 22:17, Matt Roper <matthew.d.roper@intel.com> wrote:
> i915 does not yet support the atomic modesetting interface by default;
> at the moment it must be turned on explicitly via an
> 'i915.nuclear_pageflip' kernel command line option. We should skip
> (rather than fail) this IGT test when running on kernels that don't
> advertise support for atomic modesetting.
That was certainly the intention.
Reviewed-by: Daniel Stone <daniels@collabora.com>
Cheers,
Daniel
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH i-g-t] kms_atomic: Skip rather than fail on non-atomic drivers
2016-04-05 13:02 ` Daniel Stone
@ 2016-04-05 14:43 ` Matt Roper
0 siblings, 0 replies; 3+ messages in thread
From: Matt Roper @ 2016-04-05 14:43 UTC (permalink / raw)
To: Daniel Stone; +Cc: intel-gfx
On Tue, Apr 05, 2016 at 02:02:38PM +0100, Daniel Stone wrote:
> Hi,
>
> On 4 April 2016 at 22:17, Matt Roper <matthew.d.roper@intel.com> wrote:
> > i915 does not yet support the atomic modesetting interface by default;
> > at the moment it must be turned on explicitly via an
> > 'i915.nuclear_pageflip' kernel command line option. We should skip
> > (rather than fail) this IGT test when running on kernels that don't
> > advertise support for atomic modesetting.
>
> That was certainly the intention.
>
> Reviewed-by: Daniel Stone <daniels@collabora.com>
>
> Cheers,
> Daniel
Thanks for the review; pushed.
Matt
--
Matt Roper
Graphics Software Engineer
IoTG Platform Enabling & Development
Intel Corporation
(916) 356-2795
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-04-05 14:43 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-04 21:17 [PATCH i-g-t] kms_atomic: Skip rather than fail on non-atomic drivers Matt Roper
2016-04-05 13:02 ` Daniel Stone
2016-04-05 14:43 ` Matt Roper
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox