From: David Herrmann Date: Tue, 11 Sep 2012 18:35:11 +0000 (+0000) Subject: drm: make buffer management work without DRM_MASTER X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~20^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb30edf5e4b43745f33a1df5fec32721f63026c2;p=pandora-kernel.git drm: make buffer management work without DRM_MASTER DRM users should be able to create/destroy/manage dumb- and frame-buffers without DRM_MASTER. These ioctls do not affect modesetting so there is no reason to protect them by drm-master. Particularly, destroying buffers should always be possible as a client has only access to buffers that they created. Hence, there is no reason to prevent a client from destroying the buffers, considering a simple close() would destroy them, anyway. Furthermore, a display-server currently cannot shutdown correctly if it does not have DRM_MASTER. If some other display-server becomes active (or the kernel console), then the background display-server is unable to destroy its buffers. Under special curcumstances (like monitor reconfiguration) this might even happen during runtime. Signed-off-by: David Herrmann Signed-off-by: Dave Airlie --- Reading git-diff-tree failed