drm/vmwgfx: Inline vmw_verify_access()
authorThomas Zimmermann <tzimmermann@suse.de>
Tue, 25 May 2021 15:10:54 +0000 (17:10 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Wed, 26 May 2021 18:56:52 +0000 (20:56 +0200)
commitcbc5caf778bae72e8060dbef9a5c6a96a1e8a18d
tree31ddeb6c6081efba89fa7c9c29182293f352d14f
parente65d096f8bd87a8546b8c3085b350094ed8bfa41
drm/vmwgfx: Inline vmw_verify_access()

Vmwgfx is the only user of the TTM's verify_access callback. Inline
the call and avoid the indirection through the function pointer.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Zack Rusin <zackr@vmware.com>
Acked-by: Christian König <christian.koenig@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210525151055.8174-7-tzimmermann@suse.de
drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c
drivers/gpu/drm/vmwgfx/vmwgfx_ttm_glue.c