]> 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)
commitdc3a5de1f873c8519aa65896bd7d5bf830609b7f
tree6ecf7112b79e9ed2e6791802a7df148711cb424a
parentdddea24aba49addfa9fbff6be8aafcd31fb78efd
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