summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
diff options
context:
space:
mode:
authorChangwoo Min <changwoo@igalia.com>2025-10-21 07:09:10 +0900
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2025-10-22 21:44:37 +0200
commitd8eef0453132dc95354e4c7ae839815e679179c6 (patch)
treea69c347057bac19f324cee0ad949b41c877e89ad /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
parent7928339cfe7d80f35bca905f0a2358271a4e6aa7 (diff)
PM: EM: Implement em_nl_get_pds_doit()
When a userspace requests EM_CMD_GET_PDS, the kernel responds with information on all performance domains. The message format of the response is as follows: EM_A_PDS_PD (NLA_NESTED)* EM_A_PD_PD_ID (NLA_U32) EM_A_PD_FLAGS (NLA_U64) EM_A_PD_CPUS (NLA_STRING) where EM_A_PDS_PD can be repeated as many times as there are performance domains, and EM_A_PD_CPUS is a hexadecimal string representing a CPU bitmask. Signed-off-by: Changwoo Min <changwoo@igalia.com> Reviewed-by: Lukasz Luba <lukasz.luba@arm.com> Link: https://patch.msgid.link/20251020220914.320832-7-changwoo@igalia.com Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions