[RFC PATCH 1/2] drm: store connector name in connector struct

2014-05-27 Thread Dave Airlie
> Reference: http://lkml.kernel.org/r/645ee6e22cad47d38a2b35c21c8d5fe3 at > DC1-MBX-01.ptsecurity.ru > Signed-off-by: Jani Nikula > @@ -834,9 +824,17 @@ int drm_connector_init(struct drm_device *dev, > ida_simple_get(connector_ida, 1, 0, GFP_KERNEL); > if (connector->con

[RFC PATCH 1/2] drm: store connector name in connector struct

2014-05-27 Thread Jani Nikula
On Tue, 27 May 2014, Dave Airlie wrote: >> Reference: http://lkml.kernel.org/r/645ee6e22cad47d38a2b35c21c8d5fe3 at >> DC1-MBX-01.ptsecurity.ru >> Signed-off-by: Jani Nikula > > >> @@ -834,9 +824,17 @@ int drm_connector_init(struct drm_device *dev, >> ida_simple_get(connector_ida,

[RFC PATCH 1/2] drm: store connector name in connector struct

2014-05-19 Thread David Herrmann
Hi On Wed, May 14, 2014 at 3:58 PM, Jani Nikula wrote: > This makes drm_get_connector_name() thread safe. > > Reference: http://lkml.kernel.org/r/645ee6e22cad47d38a2b35c21c8d5fe3 at > DC1-MBX-01.ptsecurity.ru > Signed-off-by: Jani Nikula I like that approach, but we should also kill drm_get_co

[RFC PATCH 1/2] drm: store connector name in connector struct

2014-05-14 Thread Jani Nikula
This makes drm_get_connector_name() thread safe. Reference: http://lkml.kernel.org/r/645ee6e22cad47d38a2b35c21c8d5fe3 at DC1-MBX-01.ptsecurity.ru Signed-off-by: Jani Nikula --- drivers/gpu/drm/drm_crtc.c | 36 include/drm/drm_crtc.h | 2 ++ 2 files chan