summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/mmhub_v2_3.c
diff options
context:
space:
mode:
authorOak Zeng <Oak.Zeng@amd.com>2021-04-01 22:36:40 +0300
committerAlex Deucher <alexander.deucher@amd.com>2021-04-15 23:02:54 +0300
commitdead5e421ac437deb94ea18c423e898c70a807a5 (patch)
tree83dfea209d49e697ff42797cde912a878bbabb07 /drivers/gpu/drm/amd/amdgpu/mmhub_v2_3.c
parent651a03212178e4004370b07344827d62e122b534 (diff)
downloadlinux-dead5e421ac437deb94ea18c423e898c70a807a5.tar.xz
drm/amdgpu: Introduce functions for vram physical addr calculation
Add one function to calculate BO's GPU physical address. And another function to calculate BO's CPU physical address. v2: Use functions vs macros (Christian) Use more proper function names (Christian) Signed-off-by: Oak Zeng <Oak.Zeng@amd.com> Suggested-by: Lijo Lazar <lijo.lazar@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/mmhub_v2_3.c')
0 files changed, 0 insertions, 0 deletions