]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite0f4053a3563c1782bdcc9b352afa5a8363385c8
treeb42e8344d97d01e811ca1fdf592a37776f66bbc4
parent3764b1a1e2d0ce9a45f169b880f5a7f311e54df8
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