History

PM: EM: Add dump to get-perf-domains in the EM YNL spec

Add dump to get-perf-domains, so that a user can fetch either information about a specific performance domain with do or information about all performance domains with dump. Share the reply format of do and dump using perf-domain-attrs, so remove perf-domains. The YNL spec, autogenerated files, and the do implementation are updated, and the dump implementation is added.

Changwoo Min committed 10 months ago

Commit 380ff271 parent d29b9005 files · +80 −38Browse files

Showing the changes to include/uapi (1 of 5 files). Show all

Unified · Split

include/uapi/linux/dev_energymodel.h+0−7
@@ -36,13 +36,6 @@ enum dev_energymodel_perf_domain_flags { · 35 unmodified lines
3636 DEV_ENERGYMODEL_PERF_DOMAIN_FLAGS_PERF_DOMAIN_ARTIFICIAL = 4,
3737 };
3838
39−enum {
40− DEV_ENERGYMODEL_A_PERF_DOMAINS_PERF_DOMAIN = 1,
41−
42− __DEV_ENERGYMODEL_A_PERF_DOMAINS_MAX,
43− DEV_ENERGYMODEL_A_PERF_DOMAINS_MAX = (__DEV_ENERGYMODEL_A_PERF_DOMAINS_MAX - 1)
44−};
45−
4639 enum {
4740 DEV_ENERGYMODEL_A_PERF_DOMAIN_PAD = 1,
4841 DEV_ENERGYMODEL_A_PERF_DOMAIN_PERF_DOMAIN_ID,