]> git.baikalelectronics.ru Git - kernel.git/commit
drm/atomic: Reject properties not part of the object.
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Mon, 5 Sep 2016 08:06:13 +0000 (10:06 +0200)
committerSean Paul <seanpaul@chromium.org>
Tue, 6 Sep 2016 17:56:41 +0000 (13:56 -0400)
commit293d4b8c72a639ca18ba02de23d1e45e17f97ed9
tree07497d290dfdd2b63877c5b42349c039a2cde1c0
parent99b3cab9149e9af62384c36edec76a7d3842d5ec
drm/atomic: Reject properties not part of the object.

The legacy setprop ioctl doesn't attempt to set properties
that are not enumerated on the object. The atomic ioctl does,
fix this by validating first.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: http://patchwork.freedesktop.org/patch/msgid/1473062773-5045-1-git-send-email-maarten.lankhorst@linux.intel.com
drivers/gpu/drm/drm_atomic.c