Re: [PATCH] drm/amdgpu: use static ids for ACP platform devs

2025-03-25 Thread Brady Norander
On 3/25/25 6:12 PM, Alex Deucher wrote: While you are at it, can you take a look at drivers/gpu/drm/amd/amdgpu/isp_v4_1_0.c and drivers/gpu/drm/amd/amdgpu/isp_v4_1_1.c as well? Alex I think it makes more sense to handle that in a separate patch as it is an unrelated ip block.

Re: [PATCH] drm/amdgpu: use static ids for ACP platform devs

2025-03-25 Thread Alex Deucher
On Tue, Mar 25, 2025 at 6:07 PM Brady Norander wrote: > > mfd_add_hotplug_devices() assigns child platform devices with > PLATFORM_DEVID_AUTO, but the ACP machine drivers expect the platform > device names to never change. Use mfd_add_devices() instead and give > each cell a unique id. While you

[PATCH] drm/amdgpu: use static ids for ACP platform devs

2025-03-25 Thread Brady Norander
mfd_add_hotplug_devices() assigns child platform devices with PLATFORM_DEVID_AUTO, but the ACP machine drivers expect the platform device names to never change. Use mfd_add_devices() instead and give each cell a unique id. Signed-off-by: Brady Norander --- drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c