aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChaitanya Kumar Borah <chaitanya.kumar.borah@intel.com>2026-01-13 15:52:52 +0530
committerMaarten Lankhorst <dev@lankhorst.se>2026-01-22 10:24:55 +0100
commit7d8257fe2590fea9fef8071507f3b8a052c5e3d1 (patch)
treef6f5a74c63471ae734a7113394a841aa84605060 /tools/perf/scripts/python
parentdrm/i915/color: Place 3D LUT after CSC in plane color pipeline (diff)
downloadlinux-7d8257fe2590fea9fef8071507f3b8a052c5e3d1.tar.gz
linux-7d8257fe2590fea9fef8071507f3b8a052c5e3d1.zip
drm/amd/display: Fix color pipeline enum name leak
dm_plane_init_colorops() allocates enum names for color pipelines. These are eventually passed to drm_property_create_enum() which create its own copies of the string. Free the strings after initialization is done. Also, allocate color pipeline enum names only after successfully creating color pipeline. Fixes: 9ba25915efba ("drm/amd/display: Add support for sRGB EOTF in DEGAM block") Signed-off-by: Chaitanya Kumar Borah <chaitanya.kumar.borah@intel.com> Reviewed-by: Uma Shankar <uma.shankar@intel.com> Reviewed-by: Alex Hung <alex.hung@amd.com> Signed-off-by: Maarten Lankhorst <dev@lankhorst.se> Acked-by: Alex Deucher <alexander.deucher@amd.com> #irc Link: https://patch.msgid.link/20260113102303.724205-3-chaitanya.kumar.borah@intel.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions