drm: Retain reference to blob properties in lookup
authorDaniel Stone <daniels@collabora.com>
Mon, 25 May 2015 18:11:49 +0000 (19:11 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 26 May 2015 06:36:52 +0000 (08:36 +0200)
commitda9b2a381a32c2a287f99e4be2f372587c53ef14
tree2251eebc96ef088b44d4221d02d25524bc59dce8
parente2f5d2ea479b9b2619965d43db70939589afe43a
drm: Retain reference to blob properties in lookup

When we look up a blob property, make sure we retain a reference to the
blob for the lifetime.

v2: Use DRM_MODE_PROP_BLOB, not PROP_OBJECT + OBJECT_BLOB.

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