[Intel-gfx] [PATCH i-g-t v6] lib/igt_kms: Add COMMIT_ATOMIC to igt_display_commit2()

Maarten Lankhorst maarten.lankhorst at linux.intel.com
Mon Feb 22 11:19:38 UTC 2016


Op 19-02-16 om 11:08 schreef Pratik Vishwakarma:
> From: Mayuresh Gharpure <mayuresh.s.gharpure at intel.com>
>
> Co-Author : Marius Vlad <marius.c.vlad at intel.com>
> Co-Author : Pratik Vishwakarma <pratik.vishwakarma at intel.com>
>
> So far we have had only two commit styles, COMMIT_LEGACY
> and COMMIT_UNIVERSAL. This patch adds another commit style
> COMMIT_ATOMIC which makes use of drmModeAtomicCommit()
>
> v2: (Marius)
> 	i)Set CRTC_ID to zero while disabling plane
> 	ii)Modified the log message in igt_atomic_prepare_plane_commit
> 	https://patchwork.freedesktop.org/patch/71945/
>
> v3: (Marius)Set FB_ID to zero while disabling plane
> 	https://patchwork.freedesktop.org/patch/72179/
>
> v4: (Maarten) Corrected the typo in commit message
> 	https://patchwork.freedesktop.org/patch/72598/
>
> v5: Added check for DRM_CLIENT_CAP_ATOMIC in igt_display_init
>     (Marius)
> 	i)Removed unused props from igt_display_init
> 	ii)Removed unused ret. Changed function to void
> 	iii)Declare the variable before checking if we have
> 	DRM_CLIENT_CAP_ATOMIC.
> 	https://patchwork.freedesktop.org/patch/73505/
>
> v6: (Jani) Corrected typo in commit message
>
> Signed-off-by: Mayuresh Gharpure <mayuresh.s.gharpure at intel.com>
> Signed-off-by: Pratik Vishwakarma <pratik.vishwakarma at intel.com>
>
Some way to add a igt_skip_on(!igt_display_supports_atomic(display)); would be nice to have, could remove the CLIENT_CAP_ATOMIC for that commit call then. :)

~Maarten


More information about the Intel-gfx mailing list