Re: [PATCH] drm/hyperv : Removing the restruction of VRAM allocation with PCI bar size

2022-05-20 Thread Deepak Rawat
On Fri, May 20, 2022 at 12:20 AM Saurabh Sengar wrote: > > There were two different approaches getting used in this driver to > allocate vram: > 1. VRAM allocation from PCI region for Gen1 > 2. VRAM alloaction from MMIO region for Gen2 > First approach limilts the vram to PCI BAR

Re: [PATCH] drm/hyperv : Removing the restruction of VRAM allocation with PCI bar size

2022-05-20 Thread Wei Liu
On Fri, May 20, 2022 at 12:20:40AM -0700, Saurabh Sengar wrote: > There were two different approaches getting used in this driver to > allocate vram: > 1. VRAM allocation from PCI region for Gen1 > 2. VRAM alloaction from MMIO region for Gen2 > First approach limilts the vram to PCI

[PATCH] drm/hyperv : Removing the restruction of VRAM allocation with PCI bar size

2022-05-20 Thread Saurabh Sengar
There were two different approaches getting used in this driver to allocate vram: 1. VRAM allocation from PCI region for Gen1 2. VRAM alloaction from MMIO region for Gen2 First approach limilts the vram to PCI BAR size, which is 64 MB in most legacy systems. This limits the maximum