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>
This commit is contained in:
committed by
Daniel Vetter
parent
fc93ff608b
commit
90844f0004
@@ -32,6 +32,6 @@ int drm_format_horz_chroma_subsampling(uint32_t format);
|
||||
int drm_format_vert_chroma_subsampling(uint32_t format);
|
||||
int drm_format_plane_width(int width, uint32_t format, int plane);
|
||||
int drm_format_plane_height(int height, uint32_t format, int plane);
|
||||
const char *drm_get_format_name(uint32_t format);
|
||||
const char *drm_get_format_name(uint32_t format) __malloc;
|
||||
|
||||
#endif /* __DRM_FOURCC_H__ */
|
||||
|
||||
Reference in New Issue
Block a user