Re: [PATCH v2 08/11] drm/xe: Remove driver side BAR release before resize

From: Lucas De Marchi

Date: Fri Nov 14 2025 - 10:58:24 EST


On Thu, Nov 13, 2025 at 06:26:25PM +0200, Ilpo Järvinen wrote:
PCI core handles releasing device's resources and their rollback in
case of failure of a BAR resizing operation. Releasing resource prior
to calling pci_resize_resource() prevents PCI core from restoring the
BARs as they were.

Remove driver-side release of BARs from the xe driver.

Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@xxxxxxxxxxxxxxx>
Cc: Lucas De Marchi <lucas.demarchi@xxxxxxxxx>


Reviewed-by: Lucas De Marchi <lucas.demarchi@xxxxxxxxx>

as noted in the previous version, the conflict with drm-xe-next is
trivial: just drop the release_bars() function.

Lucas De Marchi