drm/amdgpu: Introduce new SETUP_TMR interface
authorOak Zeng <Oak.Zeng@amd.com>
Thu, 1 Apr 2021 19:36:42 +0000 (14:36 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 15 Apr 2021 20:03:14 +0000 (16:03 -0400)
commit36c082378c381c8c0e52f81e2b00b4364324f57e
tree741a076f38e1c60d4b171cf81d2aced714ac6853
parent0ca565ab97083acaf640dd58a6f66cbe3d802356
drm/amdgpu: Introduce new SETUP_TMR interface

This new interface passes both virtual and physical address
to PSP. It is backward compatible with old interface.

v2: use a function to simplify tmr physical address calc (Lijo)

Signed-off-by: Oak Zeng <Oak.Zeng@amd.com>
Reviewed-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
drivers/gpu/drm/amd/amdgpu/psp_gfx_if.h