]> 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)
commit8151ca81cd8b92304b7a862c7521a58a807547c0
tree205b13b2ac9f19a56ac5ecb75327c0b7b9786df9
parent2422846317845c9bce55edb4ab1b66f7767fe011
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