drm: make drm_get_format_name thread-safe
authorEric Engestrom <eric@engestrom.ch>
Mon, 15 Aug 2016 00:02:38 +0000 (01:02 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 15 Aug 2016 07:25:12 +0000 (09:25 +0200)
commit90844f00049e9f42573fd31d7c32e8fd31d3fd07
tree60303fd6ee2cb480548f847790090e786f5f70fd
parentfc93ff608b15ae32cde3006b7af860b59cac20ec
drm: make drm_get_format_name thread-safe

Signed-off-by: Eric Engestrom <eric@engestrom.ch>
[danvet: Clarify that the returned pointer must be freed with
kfree().]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
12 files changed:
drivers/gpu/drm/amd/amdgpu/dce_v10_0.c
drivers/gpu/drm/amd/amdgpu/dce_v11_0.c
drivers/gpu/drm/amd/amdgpu/dce_v8_0.c
drivers/gpu/drm/drm_atomic.c
drivers/gpu/drm/drm_crtc.c
drivers/gpu/drm/drm_fourcc.c
drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c
drivers/gpu/drm/i915/i915_debugfs.c
drivers/gpu/drm/i915/intel_atomic_plane.c
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/radeon/atombios_crtc.c
include/drm/drm_fourcc.h