drm/vmwgfx: limit mode size for all display unit to texture_max
authorDeepak Rawat <drawat@vmware.com>
Thu, 13 Sep 2018 10:44:13 +0000 (12:44 +0200)
committerThomas Hellstrom <thellstrom@vmware.com>
Thu, 20 Sep 2018 06:00:03 +0000 (08:00 +0200)
commit140b4e67c2e1269a945c5caacdcb0c0346ad4cef
treeb42e8344d97d01e811ca1fdf592a37776f66bbc4
parent0c1b174b1b9a497230f937345d4db76fea267398
drm/vmwgfx: limit mode size for all display unit to texture_max

For all display units, limit mode size exposed to texture_max_width/
height as this is the maximum framebuffer size that virtual device can
create.

Signed-off-by: Deepak Rawat <drawat@vmware.com>
Reviewed-by: Sinclair Yeh <syeh@vmware.com>
Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
drivers/gpu/drm/vmwgfx/vmwgfx_kms.c