]> git.baikalelectronics.ru Git - kernel.git/commit
drm: rename, adjust and export drm_atomic_replace_property_blob
authorPeter Rosin <peda@axentia.se>
Thu, 13 Jul 2017 16:25:25 +0000 (18:25 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 14 Jul 2017 13:53:06 +0000 (15:53 +0200)
commit1f2911bc0691ca7e7ec7806e6ee074e8f3f7f5ff
tree34c3a556a7719a4518f050558cc3f5908d4da1b1
parent7719460246e279705c211e40fa3ed56b3c244608
drm: rename, adjust and export drm_atomic_replace_property_blob

The function has little to do with atomic, it's just where it has so
far been needed. So, rename it to drm_property_replace_blob, move it
to drm_property.c and export it.

Change the semantics to return whether the blob was replaced instead
of using an extra argument for that.

Signed-off-by: Peter Rosin <peda@axentia.se>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20170713162538.22788-2-peda@axentia.se
drivers/gpu/drm/drm_atomic.c
drivers/gpu/drm/drm_property.c
include/drm/drm_property.h