drm: store encoder name in encoder struct
authorJani Nikula <jani.nikula@intel.com>
Wed, 14 May 2014 13:58:20 +0000 (16:58 +0300)
committerDave Airlie <airlied@redhat.com>
Fri, 30 May 2014 01:58:45 +0000 (11:58 +1000)
commite5748946e907f767e7bb73e5ed31584981f0ff65
tree7a4163d1c05ba4139c97d2cec27dab9a240584b2
parent2abdd3137e78adca69b0722307aa2ef89f2cf3b6
drm: store encoder name in encoder struct

This makes drm_get_encoder_name() thread safe.

Reference: http://lkml.kernel.org/r/645ee6e22cad47d38a2b35c21c8d5fe3@DC1-MBX-01\
.ptsecurity.ru
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_crtc.c
include/drm/drm_crtc.h