]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc6246652098ee40588406d1b2aa43a598a022a79
tree6ecf7112b79e9ed2e6791802a7df148711cb424a
parent1556e2e07bfbed82f0492b44a26defe996dae34a
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