drm/amdgpu: add determine passthrough under arm64
authorVictor Zhao <Victor.Zhao@amd.com>
Mon, 24 Jan 2022 04:13:58 +0000 (12:13 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 27 Jan 2022 20:47:34 +0000 (15:47 -0500)
commit039cacd2393971fe11f855118eea6c83c8f506fa
tree075c9a74d55381c76802175a7af5aefadcbb4b14
parent3b36f50d3a69ed720e4c464bc9c5fa2c3fadc750
drm/amdgpu: add determine passthrough under arm64

add determine for passthrough mode under arm64 by reading
CurrentEL register

v2: squash in warning fix (Alex)

Signed-off-by: Victor Zhao <Victor.Zhao@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h