summaryrefslogtreecommitdiff
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorLijo Lazar <lijo.lazar@amd.com>2025-08-28 10:02:35 +0530
committerAlex Deucher <alexander.deucher@amd.com>2025-09-05 17:38:40 -0400
commitb842b994ed0678faf73907a67fb13afcd5e50509 (patch)
tree468067c527c3b1fdd0547bb70780c509f9a05dcb /rust/helpers/helpers.c
parentcf32515a70618c0fb2319bd4a855f4d9447940a8 (diff)
drm/amd/pm: Add caching for SystemMetrics table
Implement caching separately for SystemMetrics table from PMFW. The same table could be used for multiple interfaces. Hence, cache it internally to avoid multiple queries to the firmware. For SystemMetrics table, 5ms cache interval is sufficient. Signed-off-by: Lijo Lazar <lijo.lazar@amd.com> Reviewed-by: Asad Kamal <asad.kamal@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions