diff options
| author | 2021-04-01 14:36:40 -0500 | |
|---|---|---|
| committer | 2021-04-15 16:02:54 -0400 | |
| commit | dead5e421ac437deb94ea18c423e898c70a807a5 (patch) | |
| tree | 83dfea209d49e697ff42797cde912a878bbabb07 /drivers/gpu/drm/amd/amdgpu/gfxhub_v2_1.c | |
| parent | drm/amdgpu: update gfx 9.4.2 ras error reporting (diff) | |
| download | linux-dev-dead5e421ac437deb94ea18c423e898c70a807a5.tar.xz linux-dev-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_v2_1.c')
0 files changed, 0 insertions, 0 deletions
