[PATCH] modesetting: Set correct DRM event context version

Adam Jackson ajax at nwnk.net
Fri Apr 7 14:10:15 UTC 2017


On Fri, 2017-04-07 at 14:27 +0100, Daniel Stone wrote:
> DRM_EVENT_CONTEXT_VERSION is the latest context version supported by
> whatever version of libdrm is present. igt was blindly asserting it
> supported whatever version that may be, even if it actually didn't.
> 
> With libdrm 2.4.78, setting a higher context version than 2 will attempt
> to call the page_flip_handler2 vfunc if it was non-NULL, which being a
> random chunk of stack memory, it might well have been.
> 
> Set the version as 2, which should be bumped only with the appropriate
> version checks.
> 
> Signed-off-by: Daniel Stone <daniels at collabora.com>

Merged, thanks:

remote: I: patch #149048 updated using rev 0c8e6ed85810e96d84173a52d628863802a78d82.
remote: I: 1 patch(es) updated to state Accepted.
To ssh://git.freedesktop.org/git/xorg/xserver
   e4d0757..0c8e6ed  master -> master

- ajax


More information about the xorg-devel mailing list