Skip to content

Commit

Permalink
[CLI] Make HDCP meaning string shorter
Browse files Browse the repository at this point in the history
  • Loading branch information
cyring committed May 31, 2024
1 parent 18d3229 commit cf26a20
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
5 changes: 2 additions & 3 deletions x86_64/corefreq-cli-rsc-en.h
Original file line number Diff line number Diff line change
Expand Up @@ -1243,9 +1243,7 @@
#define RSC_TECHNOLOGIES_WDT_CODE_EN "Watchdog Timer"
#define RSC_TECHNOLOGIES_VMD_CODE_EN "Volume Management Device"
#define RSC_TECHNOLOGIES_GNA_CODE_EN "Gaussian & Neural Accelerator"
#define RSC_TECHNOLOGIES_HDCP_CODE_EN \
"High-Bandwidth Digital Content Protection"

#define RSC_TECHNOLOGIES_HDCP_CODE_EN "Digital Content Protection"
#define RSC_TECHNOLOGIES_IPU_CODE_EN "Image Processing Unit"
#define RSC_TECHNOLOGIES_VPU_CODE_EN "Vision Processing Unit"

Expand All @@ -1260,6 +1258,7 @@
#define RSC_TECH_INTEL_VMX_COMM_CODE_EN " Intel Virtual Machine Extensions "
#define RSC_TECH_INTEL_VTD_COMM_CODE_EN " I/O MMU virtualization (Intel VT-d) "
#define RSC_TECH_AMD_V_COMM_CODE_EN " I/O MMU virtualization (AMD-Vi) "
#define RSC_TECH_HDCP_COMM_CODE_EN " High-Bandwidth Digital Content Protection "

#define RSC_PERF_MON_TITLE_CODE_EN " Performance Monitoring "
#define RSC_PERF_CAPS_TITLE_CODE_EN " Performance Capabilities "
Expand Down
3 changes: 2 additions & 1 deletion x86_64/corefreq-cli-rsc-fr.h
Original file line number Diff line number Diff line change
Expand Up @@ -722,7 +722,7 @@ do echo -en "$h$l\t""\xc3""\x$h$l""\t"; done; done;echo
"Acc""\xa9""l""\xa9""rateur Gaussien & Neuronal"

#define RSC_TECHNOLOGIES_HDCP_CODE_FR \
"Protection contenu haute d""\xa9""finition"
"Protection des contenus num""\xa9""riques"

#define RSC_TECHNOLOGIES_IPU_CODE_FR "Unit""\xa9"" de traitement d'images"
#define RSC_TECHNOLOGIES_VPU_CODE_FR "Unit""\xa9"" de traitement visuel"
Expand All @@ -738,6 +738,7 @@ do echo -en "$h$l\t""\xc3""\x$h$l""\t"; done; done;echo
#define RSC_TECH_AMD_SVM_COMM_CODE_FR RSC_TECH_AMD_SVM_COMM_CODE_EN
#define RSC_TECH_INTEL_VTD_COMM_CODE_FR RSC_TECH_INTEL_VTD_COMM_CODE_EN
#define RSC_TECH_AMD_V_COMM_CODE_FR RSC_TECH_AMD_V_COMM_CODE_EN
#define RSC_TECH_HDCP_COMM_CODE_FR RSC_TECH_HDCP_COMM_CODE_EN

#define RSC_PERF_MON_TITLE_CODE_FR " Gestion de la performance "
#define RSC_PERF_CAPS_TITLE_CODE_FR " Capacit""\xa9""s de performances "
Expand Down
1 change: 1 addition & 0 deletions x86_64/corefreq-cli-rsc.c
Original file line number Diff line number Diff line change
Expand Up @@ -1154,6 +1154,7 @@ RESOURCE_ST Resource[] = {
LDT(RSC_TECHNOLOGIES_VMD),
LDT(RSC_TECHNOLOGIES_GNA),
LDT(RSC_TECHNOLOGIES_HDCP),
LDT(RSC_TECH_HDCP_COMM),
LDT(RSC_TECHNOLOGIES_IPU),
LDT(RSC_TECHNOLOGIES_VPU),
LDT(RSC_PERF_MON_TITLE),
Expand Down
1 change: 1 addition & 0 deletions x86_64/corefreq-cli-rsc.h
Original file line number Diff line number Diff line change
Expand Up @@ -957,6 +957,7 @@ enum {
RSC_TECHNOLOGIES_VMD,
RSC_TECHNOLOGIES_GNA,
RSC_TECHNOLOGIES_HDCP,
RSC_TECH_HDCP_COMM,
RSC_TECHNOLOGIES_IPU,
RSC_TECHNOLOGIES_VPU,
RSC_PERF_MON_TITLE,
Expand Down
2 changes: 1 addition & 1 deletion x86_64/corefreq-cli.c
Original file line number Diff line number Diff line change
Expand Up @@ -4414,7 +4414,7 @@ REASON_CODE SysInfoTech(Window *win,
(unsigned int[]) { CRC_INTEL, 0 },
RO(Shm)->Proc.Technology.HDCP == 1,
2, "%s%.*sHDCP [%3s]",
RSC(TECHNOLOGIES_HDCP).CODE(), NULL,
RSC(TECHNOLOGIES_HDCP).CODE(), RSC(TECH_HDCP_COMM).CODE(),
width - 15 - RSZ(TECHNOLOGIES_HDCP),
NULL,
SCANKEY_NULL,
Expand Down

0 comments on commit cf26a20

Please sign in to comment.