PCI: Add a REBAR size quirk for Sapphire RX 5600 XT Pulse
authorNirmoy Das <nirmoy.das@amd.com>
Thu, 7 Jan 2021 11:26:55 +0000 (12:26 +0100)
committerChristian König <christian.koenig@amd.com>
Thu, 14 Jan 2021 20:20:53 +0000 (21:20 +0100)
commit907830b0fc9e374d00f3c83de5e426157b482c01
tree28a7f938d8ba44ddcc6d4da733d7100167250b0f
parent192f1bf7559e895d51f81c3976c5892c8b1e0601
PCI: Add a REBAR size quirk for Sapphire RX 5600 XT Pulse

RX 5600 XT Pulse advertises support for BAR 0 being 256MB, 512MB,
or 1GB, but it also supports 2GB, 4GB, and 8GB. Add a rebar
size quirk so that the BAR 0 is big enough to cover complete VARM.

Signed-off-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Nirmoy Das <nirmoy.das@amd.com>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Link: https://patchwork.kernel.org/project/dri-devel/patch/20210107175017.15893-5-nirmoy.das@amd.com
drivers/pci/pci.c