]> Gentwo Git Trees - linux/.git/commit
drm/amdgpu: Use pci_rebar_get_max_size()
authorIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Thu, 13 Nov 2025 18:00:52 +0000 (20:00 +0200)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 14 Nov 2025 18:34:21 +0000 (12:34 -0600)
commitc7df7059e3baa1df96d03429923cc137f134658c
tree265a64201645ff1050073a826d0ee65345753884
parent46ba95bed95424080671a38ecfb872954e1707bd
drm/amdgpu: Use pci_rebar_get_max_size()

Use pci_rebar_get_max_size() to simplify amdgpu_device_resize_fb_bar().

Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Link: https://patch.msgid.link/20251113180053.27944-11-ilpo.jarvinen@linux.intel.com
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c