]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Fix memleak on input transfer function
authorLeo (Sunpeng) Li <sunpeng.li@amd.com>
Wed, 4 Apr 2018 20:01:30 +0000 (16:01 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 May 2018 18:43:02 +0000 (13:43 -0500)
commit0bb31115b24de1410b217cf503a51083ce704e67
treefe9564e0f570bdc9d2cd4515ff14b9881b5ef420
parent538d30fa3a0e34be531c743cf5a53352b5759186
drm/amd/display: Fix memleak on input transfer function

Input transfer function creation is now done when the plane is created.
This is done within the following change:

    Author: Anthony Koo <Anthony.Koo@amd.com>
        drm/amd/display: Have DC manage its own allocation of gamma

Therefore, we no longer need to create it when filling in the plane
attributes.

Signed-off-by: Leo (Sunpeng) Li <sunpeng.li@amd.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c