]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vmwgfx: Add surface define v4 command
authorDeepak Rawat <drawat.floss@gmail.com>
Tue, 30 Apr 2019 20:04:55 +0000 (13:04 -0700)
committerRoland Scheidegger <sroland@vmware.com>
Mon, 23 Mar 2020 21:48:57 +0000 (22:48 +0100)
commitcd9f67e386ef046c20cc5ea32fdcac63bf1d8a5d
tree205b13b2ac9f19a56ac5ecb75327c0b7b9786df9
parentebf84253b449e2069e1f3ea56640d71831bef7d2
drm/vmwgfx: Add surface define v4 command

Surface define v4 added new member buffer_byte_stride. With this patch
add buffer_byte_stride in surface metadata and create surface using new
command if support is available.

Also with this patch replace device specific data types with kernel
types.

Signed-off-by: Deepak Rawat <drawat.floss@gmail.com>
Reviewed-by: Thomas Hellström (VMware) <thomas_os@shipmail.org>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Signed-off-by: Roland Scheidegger <sroland@vmware.com>
drivers/gpu/drm/vmwgfx/vmwgfx_drv.h
drivers/gpu/drm/vmwgfx/vmwgfx_surface.c
include/uapi/drm/vmwgfx_drm.h