[PATCH 1/4] drm/amdgpu: Introduce functions for vram physical addr calculation

2021-04-09 Thread Harish Kasiviswanathan
From: Oak Zeng 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 Suggested-by: Lijo Lazar Reviewed-by: Christian

[PATCH 1/4] drm/amdgpu: Introduce functions for vram physical addr calculation

2021-04-01 Thread Oak Zeng
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 Suggested-by: Lijo Lazar ---