> 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
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,
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
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