thanks bridgman
so according to my dmesg log, this has a ReBAR right? because it allows to set a BAR bigger than 256MB
so this is not really a BAR but a ReBAR... the mesa driver has had this feature for a long time, and you don't even need a NAVI 6000 for this nor a bios option to enable it.
it's just that just a few months ago the amdgpu driver started doing optimizations for taking advantage of the ReBAR, which is what nvidia is doing now a little later than the mesa driver.
so according to my dmesg log, this has a ReBAR right? because it allows to set a BAR bigger than 256MB
[ 1.412949] amdgpu 0000:08:00.0: amdgpu: Fetched VBIOS from ROM BAR
[ 1.413062] amdgpu 0000:08:00.0: BAR 2: releasing [mem 0xf0000000-0xf01fffff 64bit pref]
[ 1.413065] amdgpu 0000:08:00.0: BAR 0: releasing [mem 0xe0000000-0xefffffff 64bit pref]
[ 1.413094] pcieport 0000:07:00.0: BAR 15: releasing [mem 0xe0000000-0xf01fffff 64bit pref]
[ 1.413097] pcieport 0000:06:00.0: BAR 15: releasing [mem 0xe0000000-0xf01fffff 64bit pref]
[ 1.413099] pcieport 0000:03:04.0: BAR 15: releasing [mem 0xe0000000-0xf01fffff 64bit pref]
[ 1.413101] pcieport 0000:02:00.2: BAR 15: releasing [mem 0xe0000000-0xf01fffff 64bit pref]
[ 1.413104] pcieport 0000:00:01.3: BAR 15: releasing [mem 0xe0000000-0xf01fffff 64bit pref]
[ 1.413116] pcieport 0000:00:01.3: BAR 15: assigned [mem 0x500000000-0x7ffffffff 64bit pref]
[ 1.413119] pcieport 0000:02:00.2: BAR 15: assigned [mem 0x500000000-0x7ffffffff 64bit pref]
[ 1.413122] pcieport 0000:03:04.0: BAR 15: assigned [mem 0x500000000-0x7ffffffff 64bit pref]
[ 1.413125] pcieport 0000:06:00.0: BAR 15: assigned [mem 0x500000000-0x7ffffffff 64bit pref]
[ 1.413127] pcieport 0000:07:00.0: BAR 15: assigned [mem 0x500000000-0x7ffffffff 64bit pref]
[ 1.413130] amdgpu 0000:08:00.0: BAR 0: assigned [mem 0x600000000-0x7ffffffff 64bit pref]
[ 1.413143] amdgpu 0000:08:00.0: BAR 2: assigned [mem 0x500000000-0x5001fffff 64bit pref]
[ 1.413260] [drm] Detected VRAM RAM=6128M, BAR=8192M
[ 1.413062] amdgpu 0000:08:00.0: BAR 2: releasing [mem 0xf0000000-0xf01fffff 64bit pref]
[ 1.413065] amdgpu 0000:08:00.0: BAR 0: releasing [mem 0xe0000000-0xefffffff 64bit pref]
[ 1.413094] pcieport 0000:07:00.0: BAR 15: releasing [mem 0xe0000000-0xf01fffff 64bit pref]
[ 1.413097] pcieport 0000:06:00.0: BAR 15: releasing [mem 0xe0000000-0xf01fffff 64bit pref]
[ 1.413099] pcieport 0000:03:04.0: BAR 15: releasing [mem 0xe0000000-0xf01fffff 64bit pref]
[ 1.413101] pcieport 0000:02:00.2: BAR 15: releasing [mem 0xe0000000-0xf01fffff 64bit pref]
[ 1.413104] pcieport 0000:00:01.3: BAR 15: releasing [mem 0xe0000000-0xf01fffff 64bit pref]
[ 1.413116] pcieport 0000:00:01.3: BAR 15: assigned [mem 0x500000000-0x7ffffffff 64bit pref]
[ 1.413119] pcieport 0000:02:00.2: BAR 15: assigned [mem 0x500000000-0x7ffffffff 64bit pref]
[ 1.413122] pcieport 0000:03:04.0: BAR 15: assigned [mem 0x500000000-0x7ffffffff 64bit pref]
[ 1.413125] pcieport 0000:06:00.0: BAR 15: assigned [mem 0x500000000-0x7ffffffff 64bit pref]
[ 1.413127] pcieport 0000:07:00.0: BAR 15: assigned [mem 0x500000000-0x7ffffffff 64bit pref]
[ 1.413130] amdgpu 0000:08:00.0: BAR 0: assigned [mem 0x600000000-0x7ffffffff 64bit pref]
[ 1.413143] amdgpu 0000:08:00.0: BAR 2: assigned [mem 0x500000000-0x5001fffff 64bit pref]
[ 1.413260] [drm] Detected VRAM RAM=6128M, BAR=8192M
it's just that just a few months ago the amdgpu driver started doing optimizations for taking advantage of the ReBAR, which is what nvidia is doing now a little later than the mesa driver.
Comment