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)
commit5f057ffd6da26c939dff976a2acc76233bbe4467
tree34c3a556a7719a4518f050558cc3f5908d4da1b1
parente38e12895022d7148220fc35782b5bd6461f1736
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