]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vmwgfx: Introduce a simple resource type
authorThomas Hellstrom <thellstrom@vmware.com>
Thu, 23 Mar 2017 22:09:42 +0000 (15:09 -0700)
committerSinclair Yeh <syeh@vmware.com>
Fri, 31 Mar 2017 22:21:17 +0000 (15:21 -0700)
commit45c3b0a76debc3155f25de86290b8fe0cf1586d0
treefb909312ad6d76917811f2f054c59a1984fdb8da
parent635ed7b21a33d078682e0daa7020a8477ff51bd7
drm/vmwgfx: Introduce a simple resource type

The callbacks we need to provide to many resources are very similar, so
provide a simple resource type with a number of helpers for these
callbacks.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Sinclair Yeh <syeh@vmware.com>
drivers/gpu/drm/vmwgfx/Makefile
drivers/gpu/drm/vmwgfx/vmwgfx_resource_priv.h
drivers/gpu/drm/vmwgfx/vmwgfx_simple_resource.c [new file with mode: 0644]