Re: [PATCH 3/3] drm/i915: Remove driver side resource assignment after BAR resize

From: Joonas Lahtinen

Date: Mon Nov 09 2026 - 08:53:31 EST


Quoting Ilpo Järvinen (2026-11-09 15:10:10)
> pci_resize_resource() assigns the resized BAR and the other BARs it
> released, or restores the original configuration on failure. Calling
> pci_assign_unassigned_bus_resources() after it is redundant. If that
> call manages to assign more resources in some scenario, the problem
> should be fixed inside pci_resize_resource() instead.
>
> Remove the pci_assign_unassigned_bus_resources() call from
> i915_resize_lmem_bar().
>
> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@xxxxxxxxxxxxxxx>

Reviewed-by: Joonas Lahtinen <joonas.lahtinen@xxxxxxxxxxxxxxx>

Feel free to apply on pci tree where the refactoring also landed.

Regards, Joonas