commit | 5e24133ea3dfb89fd0cf28cd7a845b66fa680b69 | [log] [tgz] |
---|---|---|
author | Deepak Rawat <drawat@vmware.com> | Wed Jun 20 11:17:16 2018 +0200 |
committer | Thomas Hellstrom <thellstrom@vmware.com> | Tue Jul 03 20:38:02 2018 +0200 |
tree | afbf31d681ee7b094ab3b8a6871db1dc10e32ca6 | |
parent | 0a80eb4c122fd6119f3a15910d7bb9e6e33c3661 [diff] |
drm/vmwgfx: Use modeset display memory validation for layout ioctl Call the same display memory validation function which is used by modeset_check. This ensure consistency that kernel change preferred mode/topology only if supported. Also change the internal function to use drm_rect instead of drm_vmw_rect. Signed-off-by: Deepak Rawat <drawat@vmware.com> Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com> Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>