diff options
author | Saurabh Sengar <ssengar@linux.microsoft.com> | 2022-05-21 07:23:39 -0700 |
---|---|---|
committer | Wei Liu <wei.liu@kernel.org> | 2022-07-11 19:01:11 +0000 |
commit | bf28462e20b56c1d7c8dbf82367cd43ffbc8a1f1 (patch) | |
tree | 143f6ad1eed271999052de1f640040fd700ffbfb /drivers/hv | |
parent | 5182fecc4be8e4ae2e3a3d744b5562a3e74bf2b4 (diff) | |
download | linux-bf28462e20b56c1d7c8dbf82367cd43ffbc8a1f1.tar.gz linux-bf28462e20b56c1d7c8dbf82367cd43ffbc8a1f1.tar.bz2 linux-bf28462e20b56c1d7c8dbf82367cd43ffbc8a1f1.zip |
drm/hyperv : Removing the restruction of VRAM allocation with PCI bar size
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@linux.microsoft.com>
Reviewed-by: Deepak Rawat <drawat.floss@gmail.com>
Link: https://lore.kernel.org/r/1653143019-20032-1-git-send-email-ssengar@linux.microsoft.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Diffstat (limited to 'drivers/hv')
0 files changed, 0 insertions, 0 deletions