]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4f8e93979f9555c496094b5b177faed391a22dec
tree075c9a74d55381c76802175a7af5aefadcbb4b14
parent15f8aa25c594d8b7767b06ae7b6dab79996b97a5
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