nux distro kernel. https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-6.18.y 2026-02-26T22:59:42Z drm/amdgpu: Fix memory leak in amdgpu_acpi_enumerate_xcc() 2026-02-26T22:59:42Z Zilin Guan zilin@seu.edu.cn 2026-01-29T09:25:32Z urn:sha1:d1370ef2ecf7d4df25e3e1e430cd191b1e7f8596 [ Upstream commit c9be63d565789b56ca7b0197e2cb78a3671f95a8 ] In amdgpu_acpi_enumerate_xcc(), if amdgpu_acpi_dev_init() returns -ENOMEM, the function returns directly without releasing the allocated xcc_info, resulting in a memory leak. Fix this by ensuring that xcc_info is properly freed in the error paths. Compile tested only. Issue found using a prototype static analysis tool and code review. Fixes: 4d5275ab0b18 ("drm/amdgpu: Add parsing of acpi xcc objects") Reviewed-by: Lijo Lazar <lijo.lazar@amd.com> Signed-off-by: Zilin Guan <zilin@seu.edu.cn> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Sasha Levin <sashal@kernel.org> drm/amd/amdgpu: Initialize swnode for ISP MFD device 2025-07-16T20:17:35Z Pratap Nirujogi pratap.nirujogi@amd.com 2025-06-24T23:15:00Z urn:sha1:e36519f5c8035f1685b39690ed330ac3b2c978a2 Create amd_isp_capture MFD device with swnode initialized to isp specific software_node part of fwnode graph in amd_isp4 x86/platform driver. The isp driver use this swnode handle to retrieve the critical properties (data-lanes, mipi phyid, link-frequencies etc.) required for camera to work on AMD ISP4 based targets. Reviewed-by: Mario Limonciello <mario.limonciello@amd.com> Signed-off-by: Pratap Nirujogi <pratap.nirujogi@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> drm/amdgpu: Pass adev pointer to functions 2025-07-07T17:41:37Z Lijo Lazar lijo.lazar@amd.com 2025-06-30T13:41:33Z urn:sha1:127ed492ad2df0aa2351a1ad32a793ae7d91161b Pass amdgpu device context instead of drm device context to some amdgpu_device_* functions. DRM device context is not required in those functions. No functional change. Signed-off-by: Lijo Lazar <lijo.lazar@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> drm/amd/amdgpu: Add GPIO resources required for amdisp 2025-05-28T20:01:39Z Pratap Nirujogi pratap.nirujogi@amd.com 2025-03-09T20:53:01Z urn:sha1:3e9d9df850f3f93261a3259751394643f100a52a ISP is a child device to GFX, and its device specific information is not available in ACPI. Adding the 2 GPIO resources required for ISP_v4_1_1 in amdgpu_isp driver. - GPIO 0 to allow sensor driver to enable and disable sensor module. - GPIO 85 to allow ISP driver to enable and disable ISP RGB streaming mode. Signed-off-by: Pratap Nirujogi <pratap.nirujogi@amd.com> Reviewed-by: Mario Limonciello <mario.limonciello@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Revert "drm/amd: Stop evicting resources on APUs in suspend" 2025-05-07T21:42:30Z Alex Deucher alexander.deucher@amd.com 2025-05-01T17:00:16Z urn:sha1:ce8f7d95899c2869b47ea6ce0b3e5bf304b2fff4 This reverts commit 3a9626c816db901def438dc2513622e281186d39. This breaks S4 because we end up setting the s3/s0ix flags even when we are entering s4 since prepare is used by both flows. The causes both the S3/s0ix and s4 flags to be set which breaks several checks in the driver which assume they are mutually exclusive. Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/3634 Cc: Mario Limonciello <mario.limonciello@amd.com> Reviewed-by: Mario Limonciello <mario.limonciello@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> drm/amd: Pass luminance data to amdgpu_dm_backlight_caps 2025-03-05T15:42:42Z Mario Limonciello mario.limonciello@amd.com 2025-02-28T18:51:42Z urn:sha1:f729e63743f0fbd504a1464e9495c456f63ff7ef The ATIF method on some systems will provide a backlight curve. Pass this curve into amdgpu_dm add it to the structures. Reviewed-by: Alex Hung <alex.hung@amd.com> Link: https://lore.kernel.org/r/20250228185145.186319-3-mario.limonciello@amd.com Signed-off-by: Mario Limonciello <mario.limonciello@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> drm/amd: Copy entire structure in amdgpu_acpi_get_backlight_caps() 2025-03-05T15:42:37Z Mario Limonciello mario.limonciello@amd.com 2025-02-28T18:51:41Z urn:sha1:1c79b5fcdf1a29525dbb6e8243d0e63c0e9a5000 As new members are introduced to the structure copying the entire structure will help avoid missing them. Reviewed-by: Alex Hung <alex.hung@amd.com> Link: https://lore.kernel.org/r/20250228185145.186319-2-mario.limonciello@amd.com Signed-off-by: Mario Limonciello <mario.limonciello@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>