drm/vmwgfx: remove code that was using physical page addresses
authorZack Rusin <zackr@vmware.com>
Wed, 9 Jun 2021 17:23:03 +0000 (13:23 -0400)
committerZack Rusin <zackr@vmware.com>
Sat, 12 Jun 2021 04:01:01 +0000 (00:01 -0400)
commitf674a218c610bea97c106ca8179b55b2a7a7528a
tree2a551df8b79582444064245166643e8f2e89d069
parent74231041d14030f1ae6582b9233bfe782ac23e33
drm/vmwgfx: remove code that was using physical page addresses

This code has been unused for a while now. When the explicit checks
for whether the driver is running on top of non-coherent swiotlb
have been deprecated we lost the ability to fallback to physical
mappings. Instead of trying to readd a module parameter to force
usage of physical addresses it's better to just force coherent
TTM pages via the force_coherent module parameter making this
code pointless.

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