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

Wei Liu wei.liu at kernel.org
Mon Jul 11 19:01:20 UTC 2022


On Sat, May 21, 2022 at 07:23:39AM -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 BAR size, which is 64 MB in most
> legacy systems. This limits the maximum resolution to be restricted to
> 64 MB size, and with recent conclusion on fbdev issue its concluded to have
> similar allocation strategy for both Gen1 and Gen2. This patch unifies
> the Gen1 and Gen2 vram allocation strategy.
> 
> Signed-off-by: Saurabh Sengar <ssengar at linux.microsoft.com>
> Reviewed-by: Deepak Rawat <drawat.floss at gmail.com>

Applied to hyperv-next. Thanks.


More information about the dri-devel mailing list