drm: Allow drm_mode_object_find() to look up an object of any type
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 23 May 2012 12:31:30 +0000 (15:31 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 3 Aug 2012 13:50:29 +0000 (16:50 +0300)
commit1c9aa6f6167a795e49496e221de501e5058943e1
tree3c8478cdd7823094b7bd5857ccb94b75ec6f5ec9
parentb34d6a942ce5eb097924ea14c134f1ac78a09f16
drm: Allow drm_mode_object_find() to look up an object of any type

To avoid having to pass object types from userspace for atomic mode
setting ioctl, allow drm_mode_object_find() to look up an object of any
type. This will only work as long as the all object types share the ID
space.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
drivers/gpu/drm/drm_crtc.c
include/drm/drm_crtc.h