drm/xe: Simplify rebar sizing
authorMichael J. Ruhl <michael.j.ruhl@intel.com>
Thu, 25 May 2023 19:43:24 +0000 (15:43 -0400)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Tue, 19 Dec 2023 23:34:10 +0000 (18:34 -0500)
commit7f075300a31829a6a5a388313f1a67e31eba012e
tree1aded12e84f5480b6034d3c62bcabe1dd82b13a9
parent61f288a8972253f4168f37331e26b6b0f7c9bc9d
drm/xe: Simplify rebar sizing

"Right sizing" the PCI BAR is not necessary.  If rebar is needed
size to the maximum available.

Preserve the force_vram_bar_size sizing.

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_device_types.h
drivers/gpu/drm/xe/xe_gt_types.h
drivers/gpu/drm/xe/xe_mmio.c