diff options
author | Deepak Rawat <drawat@vmware.com> | 2018-09-13 12:34:37 +0200 |
---|---|---|
committer | Thomas Hellstrom <thellstrom@vmware.com> | 2018-09-20 08:00:03 +0200 |
commit | 0c1b174b1b9a497230f937345d4db76fea267398 (patch) | |
tree | 9782bd041611ae6f52a48854fbcef3080e10edd9 /scripts | |
parent | bfc888261474efb0676f0e1d128f22c9692b97b1 (diff) | |
download | linux-0c1b174b1b9a497230f937345d4db76fea267398.tar.bz2 |
drm/vmwgfx: limit screen size to stdu_max during check_modeset
For STDU individual screen target size is limited by
SVGA_REG_SCREENTARGET_MAX_WIDTH/HEIGHT registers so add that limit
during atomic check_modeset.
An additional limit is placed in the update_layout ioctl to avoid
requesting layouts that current user-space typically can't support.
Also modified the comments to reflect current limitation on topology.
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>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions