aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/arm/tegra/nvidia,tegra20-mc.txt
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2017-12-20 22:54:24 -0800
committerDaniel Vetter <daniel.vetter@ffwll.ch>2017-12-21 09:49:40 +0100
commitd2a48e52541cdf474ef35d51e8d73ded5be33122 (patch)
tree9a722b300870bd111d323e2131dd0aca6715d851 /Documentation/devicetree/bindings/arm/tegra/nvidia,tegra20-mc.txt
parentdrm/plane: Make framebuffer refcounting the responsibility of setplane_internal callers (diff)
downloadlinux-dev-d2a48e52541cdf474ef35d51e8d73ded5be33122.tar.xz
linux-dev-d2a48e52541cdf474ef35d51e8d73ded5be33122.zip
drm: move lease init after validation in drm_lease_create
Patch bd36d3bab2e3d08f80766c86487090dbceed4651 fixed a deadlock in the failure path of drm_lease_create. This made the partially initialized lease object visible for a short window of time. To avoid having the lessee state appear transiently, I've rearranged the code so that the lessor fields are not filled in until the parameters are all validated and the function will succeed. Signed-off-by: Keith Packard <keithp@keithp.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: https://patchwork.freedesktop.org/patch/msgid/20171221065424.1304-1-keithp@keithp.com
Diffstat (limited to 'Documentation/devicetree/bindings/arm/tegra/nvidia,tegra20-mc.txt')
0 files changed, 0 insertions, 0 deletions