]> 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)
commitb8904cbc726c64229e1dd3373b22ca9800c2ec1a
treefb909312ad6d76917811f2f054c59a1984fdb8da
parent455fe45901f7059c2f17d7a7c6aab8d5cac2e1d5
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]