drm/vmwgfx: inline access to the pages from the piter
authorZack Rusin <zackr@vmware.com>
Wed, 9 Jun 2021 17:23:04 +0000 (13:23 -0400)
committerZack Rusin <zackr@vmware.com>
Sat, 12 Jun 2021 04:01:02 +0000 (00:01 -0400)
commit8d9a8d9bd5034a88afef470664918aa914b1c3dc
tree6ecf7112b79e9ed2e6791802a7df148711cb424a
parentf674a218c610bea97c106ca8179b55b2a7a7528a
drm/vmwgfx: inline access to the pages from the piter

The indirection doesn't make sense because we always go through
the same function pointer. Instead of the extra indirection
lets inline the access to the current page.

Signed-off-by: Zack Rusin <zackr@vmware.com>
Reviewed-by: Martin Krastev <krastevm@vmware.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210609172307.131929-7-zackr@vmware.com
drivers/gpu/drm/vmwgfx/vmwgfx_drv.h
drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c