video: fbdev: hyperv_fb: Allow resolutions with size > 64 MB for Gen1
stable inclusion from stable-v5.10.122 commit c09b873f3f39ef36d0cb75ed853dbba99f109afb category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I5W6OE Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=c09b873f3f39ef36d0cb75ed853dbba99f109afb -------------------------------- [ Upstream commit c4b4d704 ] This patch fixes a bug where GEN1 VMs doesn't allow resolutions greater than 64 MB size (eg 7680x4320). Unnecessary PCI check limits Gen1 VRAM to legacy PCI BAR size only (ie 64MB). Thus any, resolution requesting greater then 64MB (eg 7680x4320) would fail. MMIO region assigning this memory shouldn't be limited by PCI bar size. Signed-off-by:Saurabh Sengar <ssengar@linux.microsoft.com> Reviewed-by:
Dexuan Cui <decui@microsoft.com> Signed-off-by:
Helge Deller <deller@gmx.de> Signed-off-by:
Sasha Levin <sashal@kernel.org> Signed-off-by:
Zheng Zengkai <zhengzengkai@huawei.com> Reviewed-by:
Wei Li <liwei391@huawei.com>
Loading
Please sign in to comment