diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2016-05-31 15:03:18 +0300 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2016-06-01 15:00:05 +1000 |
commit | 1e8985a835fdffc99f823c25ace54833656c505a (patch) | |
tree | a27724548bdf427e1ed00be91e03d376a0beae3e /Documentation/devicetree | |
parent | 6709887c448d1cff51b52d09763c7b834ea5f0be (diff) |
drm: fix fb refcount issue with atomic modesetting
After commit 027b3f8ba9277410c3191d72d1ed2c6146d8a668 ("drm/modes: stop
handling framebuffer special") extra fb refs are left around when doing
atomic modesetting.
The problem is that the new drm_property_change_valid_get() does not
return anything in the '**ref' parameter, which causes
drm_property_change_valid_put() to do nothing.
For some reason this doesn't cause problems with legacy API.
Also, previously the code only set the 'ref' variable for fbs, with this
patch the 'ref' is set for all objects.
Fixes: 027b3f8ba927 ("drm/modes: stop handling framebuffer special")
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'Documentation/devicetree')
0 files changed, 0 insertions, 0 deletions