diff options
author | Oak Zeng <Oak.Zeng@amd.com> | 2021-04-01 14:36:40 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-04-15 16:02:54 -0400 |
commit | dead5e421ac437deb94ea18c423e898c70a807a5 (patch) | |
tree | 83dfea209d49e697ff42797cde912a878bbabb07 /drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c | |
parent | 651a03212178e4004370b07344827d62e122b534 (diff) | |
download | linux-dead5e421ac437deb94ea18c423e898c70a807a5.tar.gz linux-dead5e421ac437deb94ea18c423e898c70a807a5.tar.bz2 linux-dead5e421ac437deb94ea18c423e898c70a807a5.zip |
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/gfxhub_v1_0.c')
0 files changed, 0 insertions, 0 deletions