Skip to contentSkip to conversation

weston: re-enable support of soc performance monitor

PATCH New Eric Ruei 1 participant 1 message Jul 12, 2019

lore
Share & tools
lore

Eric Ruei

author
#0 lore raw

PATCH 1/1 weston: re-enable support of soc performance monitor

- rebase and enable the patch of adding soc performance monitor for weston 5.0.0

---
 ...Add-soc-performance-monitor-utilites.patch | 55 ++++++++++---------
 ...n_2.0.0.bbappend => weston_5.0.0.bbappend} |  0
 2 files changed, 28 insertions(+), 27 deletions(-)
 rename recipes-graphics/wayland/{weston_2.0.0.bbappend => weston_5.0.0.bbappend} (100%)
recipes-graphics/wayland/weston/0001-Add-soc-performance-monitor-utilites.patch +28 -27
index 0eafbfc..623c1bb 100644
@@ -1,20 +1,21 @@
-From 7830118ecb980766f4a6e3997769d7ae326bee77 Mon Sep 17 00:00:00 2001
+From e00a9d4a3c535997a37429ef00b13b58d696ffd0 Mon Sep 17 00:00:00 2001
 From: Karthik Ramanan <[email protected]>
 Date: Fri, 3 Jun 2016 18:32:50 +0530
 Subject: [PATCH] Add soc performance monitor utilites
 
 Signed-off-by: Karthik Ramanan <[email protected]>
+Signed-off-by: Eric Ruei <[email protected]>
 ---
  Makefile.am                       |   17 +-
- clients/Dra7xx_ddrstat_speed.c    |  494 +++++++++++++
- clients/soc_performance_monitor.c |  630 ++++++++++++++++
- clients/soc_performance_monitor.h |   40 ++
- clients/statcoll.c                | 1433 +++++++++++++++++++++++++++++++++++++
- clients/statcoll.h                |  152 ++++
- clients/statcoll_gui.h            |  101 +++
- clients/time_bar_graph.c          |  515 +++++++++++++
- clients/time_bar_graph.h          |   93 +++
- 10 files changed, 4873 insertions(+), 1 deletion(-)
+ clients/Dra7xx_ddrstat_speed.c    |  494 ++++++++++
+ clients/soc_performance_monitor.c |  630 +++++++++++++
+ clients/soc_performance_monitor.h |   40 +
+ clients/statcoll.c                | 1433 +++++++++++++++++++++++++++++
+ clients/statcoll.h                |  152 +++
+ clients/statcoll_gui.h            |  101 ++
+ clients/time_bar_graph.c          |  515 +++++++++++
+ clients/time_bar_graph.h          |   93 ++
+ 9 files changed, 3474 insertions(+), 1 deletion(-)
  create mode 100644 clients/Dra7xx_ddrstat_speed.c
  create mode 100644 clients/soc_performance_monitor.c
  create mode 100644 clients/soc_performance_monitor.h
@@ -25,13 +26,13 @@ Signed-off-by: Karthik Ramanan <[email protected]>
  create mode 100644 clients/time_bar_graph.h
 
 diff --git a/Makefile.am b/Makefile.am
-index 62719c9..55aed6d 100644
+index 83bb2533..7b4048fb 100644
 --- a/Makefile.am
 +++ b/Makefile.am
-@@ -432,7 +432,9 @@ demo_clients =					\
- 	weston-fullscreen			\
+@@ -545,7 +545,9 @@ demo_clients =					\
  	weston-stacking				\
  	weston-calibrator			\
+ 	weston-touch-calibrator			\
 -	weston-scaler
 +	weston-scaler				\
 +	soc-performance-monitor			\
@@ -39,7 +40,7 @@ index 62719c9..55aed6d 100644
  
  if INSTALL_DEMO_CLIENTS
  bin_PROGRAMS += $(demo_clients)
-@@ -570,6 +572,19 @@ weston_image_SOURCES = clients/image.c
+@@ -702,6 +704,19 @@ weston_image_SOURCES = clients/image.c
  weston_image_LDADD = libtoytoolkit.la
  weston_image_CFLAGS = $(AM_CFLAGS) $(CLIENT_CFLAGS)
  
@@ -58,10 +59,10 @@ index 62719c9..55aed6d 100644
 +
  weston_cliptest_SOURCES =				\
  	clients/cliptest.c				\
- 	src/vertex-clipping.c				\
+ 	libweston/vertex-clipping.c			\
 diff --git a/clients/Dra7xx_ddrstat_speed.c b/clients/Dra7xx_ddrstat_speed.c
 new file mode 100644
-index 0000000..af06733
+index 00000000..af067335
 --- /dev/null
 +++ b/clients/Dra7xx_ddrstat_speed.c
 @@ -0,0 +1,494 @@
@@ -561,7 +562,7 @@ index 0000000..af06733
 +
 diff --git a/clients/soc_performance_monitor.c b/clients/soc_performance_monitor.c
 new file mode 100644
-index 0000000..5d1db32
+index 00000000..0036f6ca
 --- /dev/null
 +++ b/clients/soc_performance_monitor.c
 @@ -0,0 +1,630 @@
@@ -1125,12 +1126,12 @@ index 0000000..5d1db32
 +		tg_y[i] = 0.1 * i;
 +	}
 +
-+	struct table_configuration boot_table_config; 
-+        populate_table_configuration(&boot_table_config, total_boot_items, boot_list);
-+
 +	struct table_configuration temp_table_config; 
 +        populate_table_configuration(&temp_table_config, total_temperature_items, temperature_list);
 +
++	struct table_configuration boot_table_config;
++        populate_table_configuration(&boot_table_config, total_boot_items, boot_list);
++
 +	struct table_configuration voltage_table_config; 
 +        populate_table_configuration(&voltage_table_config, total_voltage_items, voltage_list);
 +
@@ -1197,7 +1198,7 @@ index 0000000..5d1db32
 +}
 diff --git a/clients/soc_performance_monitor.h b/clients/soc_performance_monitor.h
 new file mode 100644
-index 0000000..861c8c7
+index 00000000..861c8c7a
 --- /dev/null
 +++ b/clients/soc_performance_monitor.h
 @@ -0,0 +1,40 @@
@@ -1243,7 +1244,7 @@ index 0000000..861c8c7
 +
 diff --git a/clients/statcoll.c b/clients/statcoll.c
 new file mode 100644
-index 0000000..5d5cae7
+index 00000000..5d5cae7c
 --- /dev/null
 +++ b/clients/statcoll.c
 @@ -0,0 +1,1433 @@
@@ -2682,7 +2683,7 @@ index 0000000..5d5cae7
 +
 diff --git a/clients/statcoll.h b/clients/statcoll.h
 new file mode 100644
-index 0000000..fa92753
+index 00000000..fa927538
 --- /dev/null
 +++ b/clients/statcoll.h
 @@ -0,0 +1,152 @@
@@ -2840,7 +2841,7 @@ index 0000000..fa92753
 +#endif
 diff --git a/clients/statcoll_gui.h b/clients/statcoll_gui.h
 new file mode 100644
-index 0000000..7362bde
+index 00000000..7362bde3
 --- /dev/null
 +++ b/clients/statcoll_gui.h
 @@ -0,0 +1,101 @@
@@ -2947,7 +2948,7 @@ index 0000000..7362bde
 +
 diff --git a/clients/time_bar_graph.c b/clients/time_bar_graph.c
 new file mode 100644
-index 0000000..9fa9c12
+index 00000000..9fa9c12d
 --- /dev/null
 +++ b/clients/time_bar_graph.c
 @@ -0,0 +1,515 @@
@@ -3468,7 +3469,7 @@ index 0000000..9fa9c12
 +
 diff --git a/clients/time_bar_graph.h b/clients/time_bar_graph.h
 new file mode 100644
-index 0000000..97ac05a
+index 00000000..97ac05a0
 --- /dev/null
 +++ b/clients/time_bar_graph.h
 @@ -0,0 +1,93 @@
@@ -3566,5 +3567,5 @@ index 0000000..97ac05a
 +
 +#endif /* _BAR_GRAPH_H_ */
 -- 
-1.9.1
+2.17.1
 
recipes-graphics/wayland/weston_5.0.0.bbappend renamed from recipes-graphics/wayland/weston_2.0.0.bbappend +0 -0
similarity index 100%
rename from recipes-graphics/wayland/weston_2.0.0.bbappend
rename to recipes-graphics/wayland/weston_5.0.0.bbappend
Signature · 1 line
2.17.1