]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/gpu/drm/amd/display/dc/core/dc_resource.c
drm/amd/display: dc_validate_ctx refocunt fixes.
authorAndrey Grodzovsky <Andrey.Grodzovsky@amd.com>
Tue, 11 Jul 2017 22:36:42 +0000 (18:36 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 22:15:06 +0000 (18:15 -0400)
commit9a3afbb3ea37b9a6bc16b9d6e4a51b183724158d
tree2d0b507288d91559d3b54135c475bef1035bfa53
parent189f73e32e9a7fc5ac62f244b66f8b41a78803c7
drm/amd/display: dc_validate_ctx refocunt fixes.

In dc_resource_validate_ctx_copy_construct don't override dst
context refcount.

Remove extra retain to new ctx in dc_update_surfaces_and_stream

Signed-off-by: Andrey Grodzovsky <Andrey.Grodzovsky@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@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/core/dc_resource.c