aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_plane.c
diff options
context:
space:
mode:
authorHarshit Mogalapalli <harshit.m.mogalapalli@oracle.com>2023-12-08 01:58:24 -0800
committerAlex Deucher <alexander.deucher@amd.com>2023-12-13 15:09:55 -0500
commita9210714d23190b44eed32f8bcadbe3b18d51a1d (patch)
tree65abe48e96e7d7b8979a09641010e79f65960141 /drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_plane.c
parentdrm/amd/display: add plane HDR multiplier driver-specific property (diff)
downloadlinux-rng-a9210714d23190b44eed32f8bcadbe3b18d51a1d.tar.xz
linux-rng-a9210714d23190b44eed32f8bcadbe3b18d51a1d.zip
drm/amd/display: Fix memory leak in dm_set_writeback()
'wb_info' needs to be freed on error paths or it would leak the memory. Smatch pointed this out. Fixes: c81e13b929df ("drm/amd/display: Hande writeback request from userspace") Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com> Reviewed-by: Alex Hung <alex.hung@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_plane.c')
0 files changed, 0 insertions, 0 deletions