]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - include/drm/drm_cache.h
drm: add func to get max iomem address v2
authorChunming Zhou <david1.zhou@amd.com>
Fri, 9 Feb 2018 02:44:08 +0000 (10:44 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 13 Feb 2018 16:57:59 +0000 (11:57 -0500)
commit82626363a217d79128c447ab296777b461e9f050
tree14ee04c19f1c95ba44bd257d6d44eacc610e0d2a
parent65101d8c9108201118efa7e08f4e2c57f438deb9
drm: add func to get max iomem address v2

it will be used to check if the driver needs swiotlb
v2: Don't use inline, instead, move function to drm_memory.c (Michel Daenzer <michel@daenzer.net>)

Signed-off-by: Chunming Zhou <david1.zhou@amd.com>
Reviewed-by: Monk Liu <monk.liu@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180209024410.1469-1-david1.zhou@amd.com
drivers/gpu/drm/drm_memory.c
include/drm/drm_cache.h