drm/amdgpu: Add API to get tmr info from acpi
authorLijo Lazar <lijo.lazar@amd.com>
Fri, 27 Jan 2023 13:10:14 +0000 (18:40 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2023 13:55:40 +0000 (09:55 -0400)
commit6e01882267a696b022cfe3473a0d3e5ccbe54010
tree697f93ac19553cab83aad584e9b430d027b8cfa5
parent4d5275ab0b18d17697392aafd93e206e6b9de647
drm/amdgpu: Add API to get tmr info from acpi

In certain configs, TMR information is available from ACPI. Add API to
fetch the information.

Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c