]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
drm/amdgpu: add new sysfs interface for memory realtime utilization
authorEvan Quan <evan.quan@amd.com>
Fri, 26 Apr 2019 04:02:48 +0000 (12:02 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 24 May 2019 17:20:48 +0000 (12:20 -0500)
commitf120386d74f193301d808ccfec1a778af62b6797
tree721a613677c1e039001d34393376f28fdc45914c
parent767fb6b35dfaba08f514ca4f8f5fed1c442c40fd
drm/amdgpu: add new sysfs interface for memory realtime utilization

A new sysfs interface mem_busy_percent is added for telling
how busy the VRAM is(in percentage).

Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c