drm/vmwgfx: Support for SVGA3dSurfaceAllFlags in vmwgfx
authorDeepak Rawat <drawat@vmware.com>
Wed, 20 Jun 2018 21:25:07 +0000 (14:25 -0700)
committerThomas Hellstrom <thellstrom@vmware.com>
Fri, 6 Jul 2018 18:16:08 +0000 (20:16 +0200)
commit397a11175f830e1ceb82b608a1c7adbacfbe39b0
tree541c0c7b35aba5eb25ef95b23c3d3f6501ec4cf8
parentcdff8e73006c05ee342dd588b5ba90b5def56184
drm/vmwgfx: Support for SVGA3dSurfaceAllFlags in vmwgfx

Since svga device introduced new 64bit SVGA3dSurfaceAllFlags, vmwgfx
now stores the surface flags internally as SVGA3dSurfaceAllFlags.
For legacy surface define commands, only lower 32-bit is used.

Signed-off-by: Deepak Rawat <drawat@vmware.com>
Reviewed-by: Sinclair Yeh <syeh@vmware.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
drivers/gpu/drm/vmwgfx/vmwgfx_drv.h
drivers/gpu/drm/vmwgfx/vmwgfx_surface.c