[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241014125204.1294934-1-ruanjinjie@huawei.com>
Date: Mon, 14 Oct 2024 20:52:00 +0800
From: Jinjie Ruan <ruanjinjie@...wei.com>
To: <maarten.lankhorst@...ux.intel.com>, <mripard@...nel.org>,
<tzimmermann@...e.de>, <airlied@...il.com>, <simona@...ll.ch>,
<christian.koenig@....com>, <ray.huang@....com>,
<dmitry.baryshkov@...aro.org>, <dave.stevenson@...pberrypi.com>,
<mcanal@...lia.com>, <ruanjinjie@...wei.com>, <quic_jjohnson@...cinc.com>,
<skhan@...uxfoundation.org>, <davidgow@...gle.com>,
<karolina.stolarek@...el.com>, <Arunpravin.PaneerSelvam@....com>,
<thomas.hellstrom@...ux.intel.com>, <asomalap@....com>,
<dri-devel@...ts.freedesktop.org>, <linux-kernel@...r.kernel.org>
Subject: [PATCH v2 0/4] drm: Fix some memory leaks
Fix some memory leaks in drm.
Changes in v2:
- Fix it with new introduced helper instead of drm_mode_destroy().
- Update the commit message.
- Add Reviewed-by.
Jinjie Ruan (4):
drm/tests: helpers: Add helper for drm_display_mode_from_cea_vic()
drm/connector: hdmi: Fix memory leak in
drm_display_mode_from_cea_vic()
drm/ttm/tests: Fix memory leak in ttm_tt_simple_create()
drm/tests: hdmi: Fix memory leaks in drm_display_mode_from_cea_vic()
drivers/gpu/drm/tests/drm_connector_test.c | 24 +++++------
.../drm/tests/drm_hdmi_state_helper_test.c | 8 ++--
drivers/gpu/drm/tests/drm_kunit_helpers.c | 40 +++++++++++++++++++
drivers/gpu/drm/ttm/tests/ttm_kunit_helpers.c | 1 +
include/drm/drm_kunit_helpers.h | 6 +++
5 files changed, 63 insertions(+), 16 deletions(-)
--
2.34.1
Powered by blists - more mailing lists