summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorGrazvydas Ignotas <[email protected]>2018-02-03 23:42:28 +0200
committerEmil Velikov <[email protected]>2018-03-20 16:57:23 +0000
commitc86fee1b2cc583facf39a95874fad8d440980818 (patch)
treefd5992448a1944a65aaf6f8ea8fba909e1e3c6d8 /src/gallium
parentd658dc8f4de430d489c0a5c3ba6abdb44df87b0b (diff)
gallium/hud: update some query functions
It seems these were missed when struct pipe_context * argument was added to hud_graph::query_new_value. Fixes: 3132afdf4c "gallium/hud: pass pipe_context explicitly to most functions" Reviewed-by: Marek Olšák <[email protected]> (cherry picked from commit 13ada91740769a3183f21d974193769262f5ee0f)
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/auxiliary/hud/hud_cpufreq.c2
-rw-r--r--src/gallium/auxiliary/hud/hud_diskstat.c2
-rw-r--r--src/gallium/auxiliary/hud/hud_nic.c2
-rw-r--r--src/gallium/auxiliary/hud/hud_sensors_temp.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/gallium/auxiliary/hud/hud_cpufreq.c b/src/gallium/auxiliary/hud/hud_cpufreq.c
index f5b7c0f2eb4..78a660795c4 100644
--- a/src/gallium/auxiliary/hud/hud_cpufreq.c
+++ b/src/gallium/auxiliary/hud/hud_cpufreq.c
@@ -91,7 +91,7 @@ get_file_value(const char *fn, uint64_t *KHz)
}
static void
-query_cfi_load(struct hud_graph *gr)
+query_cfi_load(struct hud_graph *gr, struct pipe_context *pipe)
{
struct cpufreq_info *cfi = gr->query_data;
diff --git a/src/gallium/auxiliary/hud/hud_diskstat.c b/src/gallium/auxiliary/hud/hud_diskstat.c
index 44174d655db..7eaaf35a7c7 100644
--- a/src/gallium/auxiliary/hud/hud_diskstat.c
+++ b/src/gallium/auxiliary/hud/hud_diskstat.c
@@ -117,7 +117,7 @@ get_file_values(const char *fn, struct stat_s *s)
}
static void
-query_dsi_load(struct hud_graph *gr)
+query_dsi_load(struct hud_graph *gr, struct pipe_context *pipe)
{
/* The framework calls us periodically, compensate for the
* calling interval accordingly when reporting per second.
diff --git a/src/gallium/auxiliary/hud/hud_nic.c b/src/gallium/auxiliary/hud/hud_nic.c
index 1de5705edf2..b6c0d9edd55 100644
--- a/src/gallium/auxiliary/hud/hud_nic.c
+++ b/src/gallium/auxiliary/hud/hud_nic.c
@@ -171,7 +171,7 @@ query_nic_rssi(const struct nic_info *nic, uint64_t *leveldBm)
}
static void
-query_nic_load(struct hud_graph *gr)
+query_nic_load(struct hud_graph *gr, struct pipe_context *pipe)
{
/* The framework calls us at a regular but indefined period,
* not once per second, compensate the statistics accordingly.
diff --git a/src/gallium/auxiliary/hud/hud_sensors_temp.c b/src/gallium/auxiliary/hud/hud_sensors_temp.c
index 4d3a11b1c9c..c26e7b9b2a7 100644
--- a/src/gallium/auxiliary/hud/hud_sensors_temp.c
+++ b/src/gallium/auxiliary/hud/hud_sensors_temp.c
@@ -154,7 +154,7 @@ find_sti_by_name(const char *n, unsigned int mode)
}
static void
-query_sti_load(struct hud_graph *gr)
+query_sti_load(struct hud_graph *gr, struct pipe_context *pipe)
{
struct sensors_temp_info *sti = gr->query_data;
uint64_t now = os_time_get();