OSDN Git Service

drm/vmwgfx: Adapt execbuf to the new validation api
authorThomas Hellstrom <thellstrom@vmware.com>
Wed, 26 Sep 2018 13:28:55 +0000 (15:28 +0200)
committerThomas Hellstrom <thellstrom@vmware.com>
Thu, 27 Sep 2018 13:21:36 +0000 (15:21 +0200)
commit9c079b8ce8bf8e0394149eb39c78b04285644bcc
tree688bfedd151ab3dc2bde0d9df094b6b80a1ca8d3
parent84e1bf06bc457f8e00e2e679d48365aeba919673
drm/vmwgfx: Adapt execbuf to the new validation api

Strip the old execbuf validation functionality and use the new API instead.
Also use the new API for a now removed execbuf function that was called
from the kms code.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Sinclair Yeh <syeh@vmware.com>
drivers/gpu/drm/vmwgfx/vmwgfx_drv.h
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
drivers/gpu/drm/vmwgfx/vmwgfx_kms.c