drm/amd/display: free bo used for dmub bounding box
authorAurabindo Pillai <aurabindo.pillai@amd.com>
Wed, 3 Jul 2024 20:41:52 +0000 (16:41 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 23 Jul 2024 21:07:13 +0000 (17:07 -0400)
commitf59549c7e705be0087d08bc116ccc767b86d8362
tree48f537277fe4bf2021c3c9b10d02ddacccc66853
parent748b3c4ca0bf43cec186ace2ecb33457d7a4653d
drm/amd/display: free bo used for dmub bounding box

fix a memleak introduced by not removing the buffer object for use with
early dmub bounding box value storage

Fixes: 234e94555800 ("drm/amd/display: Enable copying of bounding box data from VBIOS DMUB")
Reviewed-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com>
Reviewed-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Jerry Zuo <jerry.zuo@amd.com>
Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c