drm: Allow creating blob properties without copy
authorDaniel Stone <daniels@collabora.com>
Fri, 22 May 2015 12:34:49 +0000 (13:34 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 22 May 2015 14:18:21 +0000 (16:18 +0200)
commit99531d9bb76c649df15311c717deefdff7cc5b7b
treec9d5451cf8038c831fee928eb92af8e280b3420d
parent934a8a899a7275ed187810fe9a15a93397e88c6b
drm: Allow creating blob properties without copy

Make the data parameter to drm_property_create_blob optional; if
omitted, the copy will be skipped and the data will be empty.

Signed-off-by: Daniel Stone <daniels@collabora.com>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@intel.com>
Tested-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_crtc.c