Jonathan Gray schreef op 2025-04-03 12:10:
On Wed, Apr 02, 2025 at 05:18:48PM +0200, Emiel Kollof wrote:
Hi,

Is there any reason why the amdgpu firmware/driver won't work with resize
BAR enabled? When I enable ReBAR I get:

I think it came down to having to change the pci code and perhaps
reprobe devices.

Some time ago I did an implementation of pci_resize_resource() but
amdgpu_device_resize_fb_bar() has changed since then and won't build
if the ifdef is removed.

I see. I see also a lot of the stuff in amdgpu_device.c that deals with
this is surrounded by __linux__ ifdefs. I gather that's intentional and
a "workaround" for the linux sync?

Cheers,
Emiel

Reply via email to