diff options
author | Deepak Rawat <drawat@vmware.com> | 2018-06-20 11:17:16 +0200 |
---|---|---|
committer | Thomas Hellstrom <thellstrom@vmware.com> | 2018-07-03 20:38:02 +0200 |
commit | 5e24133ea3dfb89fd0cf28cd7a845b66fa680b69 (patch) | |
tree | afbf31d681ee7b094ab3b8a6871db1dc10e32ca6 /drivers/gpu/drm/drm_file.c | |
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>
Diffstat (limited to 'drivers/gpu/drm/drm_file.c')
0 files changed, 0 insertions, 0 deletions