author | Daniel Stone <daniels@collabora.com> | |
Wed, 7 Mar 2018 12:41:12 +0000 (12:41 +0000) | ||
committer | Daniel Stone <daniels@collabora.com> | |
Wed, 7 Mar 2018 17:19:29 +0000 (17:19 +0000) | ||
commit | 45eee3fd44f4fa253cd4d5c03f48d4a6899f899f | |
tree | 54f631ac78482067f97c5c7cbc107791b7b6bd40 | tree | snapshot (tar.xz tar.gz zip) |
parent | 7b12381723021fd5fbcf761e6832dd16a14f52d4 | commit | diff |
drm/atomic: Refuse to add invalid objects to requests
Object and property IDs cannot be zero. Prevent them from being added to
the request stream at all, rather than breaking at commit time.
Signed-off-by: Daniel Stone <daniels@collabora.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Object and property IDs cannot be zero. Prevent them from being added to
the request stream at all, rather than breaking at commit time.
Signed-off-by: Daniel Stone <daniels@collabora.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
xf86drmMode.c | diff | blob | history |