[PATCH] drm/kms: allow drm_mode_group with no objects

2011-07-04 Thread skeg...@gmail.com
From: Ben Skeggs Sometimes we could be controlling a device (such as an NVIDIA Tesla) that has no crtcs/encoders/connectors. One could argue that the driver should unset DRIVER_MODESET in this case, but that changes a whole heap of the DRM's other behaviours, and it's much easier to just be a mo

[PATCH] drm/kms: allow drm_mode_group with no objects

2011-07-03 Thread skeggsb
From: Ben Skeggs Sometimes we could be controlling a device (such as an NVIDIA Tesla) that has no crtcs/encoders/connectors. One could argue that the driver should unset DRIVER_MODESET in this case, but that changes a whole heap of the DRM's other behaviours, and it's much easier to just be a mo