drm/hyperv: Add error message for fb size greater than allocated
authorSaurabh Sengar <ssengar@linux.microsoft.com>
Tue, 12 Apr 2022 04:28:59 +0000 (21:28 -0700)
committerWei Liu <wei.liu@kernel.org>
Tue, 3 May 2022 15:08:39 +0000 (15:08 +0000)
commit6733dd4af7818559114e2a4771363dd6239297f6
tree8ba0f4c5f63f2efe80322c99dad3e7f60ec2d89f
parent23e118a48acf7be223e57d98e98da8ac5a4071ac
drm/hyperv: Add error message for fb size greater than allocated

Add error message when the size of requested framebuffer is more than
the allocated size by vmbus mmio region for framebuffer.

Signed-off-by: Saurabh Sengar <ssengar@linux.microsoft.com>
Reviewed-by: Dexuan Cui <decui@microsoft.com>
Link: https://lore.kernel.org/r/1649737739-10113-1-git-send-email-ssengar@linux.microsoft.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
drivers/gpu/drm/hyperv/hyperv_drm_modeset.c