]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/amd/display: Introduce refcount for dc_validate_context
authorAndrey Grodzovsky <Andrey.Grodzovsky@amd.com>
Tue, 11 Jul 2017 18:41:51 +0000 (14:41 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 22:08:50 +0000 (18:08 -0400)
commit8a76708ec4be2e9d63131e3769f17a04d8a82c87
treec0ab2deada064ab4780f43bf2f9af2bb8d28b564
parent2ebad8eb19f68638c5f5dee385e05aa466e810e5
drm/amd/display: Introduce refcount for dc_validate_context

Linux requires to be able to release allocated context
in case it was never commited.

Signed-off-by: Andrey Grodzovsky <Andrey.Grodzovsky@amd.com>
Reviewed-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Acked-by: Harry Wentland <Harry.Wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc.c
drivers/gpu/drm/amd/display/dc/dc.h
drivers/gpu/drm/amd/display/dc/inc/core_types.h