drm/xe: REBAR resize should be best effort
authorMichael J. Ruhl <michael.j.ruhl@intel.com>
Mon, 5 Jun 2023 16:08:56 +0000 (12:08 -0400)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Tue, 19 Dec 2023 23:35:05 +0000 (18:35 -0500)
commit433002ca3670769270a2f8f3a5073e9f370b0562
tree69567d823bca6b304f2dc4f729c3549e7d3b0376
parent1fce9a6f69f57318842bd2771f761f203db6f49c
drm/xe: REBAR resize should be best effort

The resizing of the PCI BAR is a best effort feature.  If it is
not available, it should not fail the driver probe.

Rework the resize to not exit on failure.

Fixes: 7f075300a318 ("drm/xe: Simplify rebar sizing")
Acked-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Signed-off-by: Michael J. Ruhl <michael.j.ruhl@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/xe_mmio.c